TimeSpan datatype¶
Include: Built in; no package required.
TimeSpan stores a duration or period value using the runtime date/time tick representation.
Size¶
Runtime datetime_t storage.
Range¶
Storage is tick-based with millisecond precision; validation uses the runtime IsTimeSpanValid rules.
Example¶
TimeSpan tsElapsed
Move 0 to tsElapsed
Notes¶
Runtime helper behavior includes span addition by day, hour, minute, second, and millisecond, matching the SpanAddDay, SpanAddHour, SpanAddMinute, SpanAddSecond, and SpanAddMillisecond package functions.