Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/FDateTime
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Misc/DateTime.h |
Include | #include "Misc/DateTime.h" |
Source | /Engine/Source/Runtime/Core/Private/Misc/DateTime.cpp |
static bool Parse
&40;
const FString & DateTimeString,
FDateTime & OutDateTime
&41;
Remarks
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. true if the string was converted successfully, false otherwise.
Parameters
Name | Description |
---|---|
DateTimeString | The string to convert. |
OutDateTime | Will contain the parsed date and time. |