TimeSpan Type

The TimeSpan type has the same internal structure as DateTime.

TimeSpan types are used for declaring variable for storing the difference of two DateTime values, i.e., the subtraction of one DateTime value from another.


65,535 days.


For more information, refer to Declaring Variables and the TimeSpan command.