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 |
FString ToString() const
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
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.