formatTimestampISO8601

Helper method to serialize a timestamp as an ISO-8601 datetime string, with minimal GC allocation. The format is "YYYY-MM-DDTHH:MM:SS.sss".

string
formatTimestampISO8601
(
SysTime timestamp
)

Parameters

timestamp SysTime

The timestamp to format.

Return Value

Type: string

The formatted timestamp as a string.