Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/Timespan.h |
Include |
#include "Misc/Timespan.h" |
Source |
/Engine/Source/Runtime/Core/Private/Misc/Timespan.cpp |
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
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.
Parameter |
Description |
---|---|
TimespanString |
The string to convert. |
OutTimespan |
Will contain the parsed time span. |