TimeOfDay.toString

string toString() const @safe pure

Formats as ISO-8601 time text: HH:MM:SS for whole seconds, HH:MM:SS.fffffffff (trailing zeros trimmed) otherwise — byte-identical to Phobos rendering for whole seconds.

Returns

The formatted time.