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;&41; const
Remarks
Return the string representation of this time span using a default format.
The returned string has the following format: p[d.]hh:mm:ss.fff
Note that 'p' is the plus or minus sign, and the date component is omitted for time spans that are shorter than one day.
Examples: -42.15:11:36.457 (45 days, 15 hours, 11 minutes, 36.457 seconds in the past) +42.15:11:36.457 (45 days, 15 hours, 11 minutes, 36.457 seconds in the future) +15:11:36.457 (15 hours, 11 minutes, 36.457 seconds in the future) +00:11:36.457 (11 minutes, 36.457 seconds in the future) +00:00:36.457 (36.457 seconds in the future) String representation.