Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FDateTime
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDateTime () |
Default constructor (zero initialization). | Misc/DateTime.h | |
FDateTime
(
int64 InTicks |
Creates and initializes a new instance with the specified number of ticks. | Misc/DateTime.h | |
FDateTime
(
int32 Year, |
Creates and initializes a new instance with the specified year, month, day, hour, minute, second and millisecond. | Misc/DateTime.h |
FDateTime()
Description
Default constructor (zero initialization).
| Name | FDateTime |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/DateTime.h |
| Include Path | #include "Misc/DateTime.h" |
FDateTime()
FDateTime(int64)
Description
Creates and initializes a new instance with the specified number of ticks.
| Name | FDateTime |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/DateTime.h |
| Include Path | #include "Misc/DateTime.h" |
FDateTime
(
int64 InTicks
)
Parameters
| Name | Remarks |
|---|---|
| InTicks | The ticks representing the date and time. |
FDateTime(int32, int32, int32, int32, int32, int32, int32)
Description
Creates and initializes a new instance with the specified year, month, day, hour, minute, second and millisecond.
| Name | FDateTime |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/DateTime.h |
| Include Path | #include "Misc/DateTime.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/DateTime.cpp |
FDateTime
(
int32 Year,
int32 Month,
int32 Day,
int32 Hour,
int32 Minute,
int32 Second,
int32 Millisecond
)
Parameters
| Name | Remarks |
|---|---|
| Year | The year. |
| Month | The month. |
| Day | The day. |
| Hour | The hour (optional). |
| Minute | The minute (optional). |
| Second | The second (optional). |
| Millisecond | The millisecond (optional). |