Documentation

Time::FormatString

Function

string Time::FormatString(const string&in format, int64 stamp = -1)

Format a time into the given format as specified by strftime in the local time.

string format

int64 stamp

The timestamp to format, or -1 to format the current time.

Returns string