Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/FTimespan
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/Timespan.h |
| Include | #include "Misc/Timespan.h" |
| Source | /Engine/Source/Runtime/Core/Private/Misc/Timespan.cpp |
static bool Parse
&40;
const FString & TimespanString,
FTimespan & OutTimespan
&41;
Remarks
Convert a string to a time span.
The string must be in one of the following formats: p[d.]hh::mm::ss.fff p[d.]hh::mm::ss.uuuuuu p[d.]hh::mm::ss.nnnnnnnnn
Note that 'p' is the plus or minus sign, and the date component may be omitted for time spans that are shorter than one day. true if the string was converted successfully, false otherwise.
Parameters
| Name | Description |
|---|---|
| TimespanString | The string to convert. |
| OutTimespan | Will contain the parsed time span. |