Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc > API/Runtime/Core/Misc/FTimespan > API/Runtime/Core/Misc/FTimespan/ToString
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 |
FString ToString
&40;
const TCHAR &42; Format
&41; const
Remarks
Convert this time span to its string representation.
The following formatting codes are available: d - prints the days component D - prints the zero-padded days component (00000000..10675199) h - prints the zero-padded hours component (00..23) m - prints the zero-padded minutes component (00..59) s - prints the zero-padded seconds component (00..59) f - prints the zero-padded fractional seconds (000..999) u - prints the zero-padded fractional seconds (000000..999999) n - prints the zero-padded fractional seconds (000000000..999999999)
Depending on whether the time span is positive or negative, a plus or minus sign character will always be added in front of the generated string. String representation.
Parameters
Name | Description |
---|---|
Format | The format of the returned string. |