Time-related data types
A Timespan
defines the length of a duration of time, and a Timestamp
defines a point in time. For example, “two
hours” is a duration that can be represented as a Timespan
, while “three o'clock in the afternoon UTC on 8 November, 2018” is a
point in time that can be represented as a Timestamp
. Both types can use nanosecond values if it is available on the
platform.