Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FDateTime
Description
Returns the string representation of this date.
Uses strftime-like syntax: a - Weekday, eg) Sun A - Weekday, eg) Sunday w - Weekday, 0-6 (Sunday is 0) y - Year, YY Y - Year, YYYY b - Month, eg) Jan B - Month, eg) January m - Month, 01-12 d - Day, 01-31 e - Day, 1-31 l - 12h Hour, 1-12 I - 12h Hour, 01-12 H - 24h Hour, 00-23 M - Minute, 00-59 S - Second, 00-60 p - AM or PM P - am or pm j - Day of the Year, 001-366
| Name | ToFormattedString |
| 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 |
FString ToFormattedString
(
const TCHAR * Format
) const
String representation.
Parameters
| Name | Remarks |
|---|---|
| Format | The format of the returned string. |