The TimeSpan class is used for representing time interval that is the difference between two times measured in a number of days, hours, minutes, and seconds. TimeSpan cannot be negative.
Will return endDate relative to a given startDate argument.
{new Date()} - current date Copy
{new Date()} - current date
Will return startDate relative to a given endDate argument.
Static
The TimeSpan class is used for representing time interval that is the difference between two times measured in a number of days, hours, minutes, and seconds. TimeSpan cannot be negative.