Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FDateTime
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Gets the date part of this date.The time part is truncated and becomes 00:00:00.000. | Misc/DateTime.h | ||
void GetDate
(
int32& OutYear, |
Gets the date components of this date. | Misc/DateTime.h |
GetDate()
Description
Gets the date part of this date.
The time part is truncated and becomes 00:00:00.000.
| Name | GetDate |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/DateTime.h |
| Include Path | #include "Misc/DateTime.h" |
FDateTime GetDate() const
A FDateTime object containing the date.
GetDate(int32 &, int32 &, int32 &)
Description
Gets the date components of this date.
| Name | GetDate |
| 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 |
void GetDate
(
int32 & OutYear,
int32 & OutMonth,
int32 & OutDay
) const
Parameters
| Name | Remarks |
|---|---|
| OutYear | Will contain the year. |
| OutMonth | Will contain the number of the month (1-12). |
| OutDay | Will contain the number of the day (1-31). |