Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FDateTime
Description
Converts a string to a date and time.
Currently, the string must be in the format written by either FDateTime.ToString() or FTimeStamp.TimestampToFString(). Other formats are not supported at this time.
| Name | Parse |
| 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 |
static bool Parse
(
const FString & DateTimeString,
FDateTime & OutDateTime
)
true if the string was converted successfully, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| DateTimeString | The string to convert. |
| OutDateTime | Will contain the parsed date and time. |
See Also
-
ParseHttpDate
-
ParseIso8601
-
ToString