explicit constructor for a TimeSpan
Convert a DateTime to a TimeSpan
Convert a DateTime to a TimeSpan
Convert a Date to a TimeSpan
Convert a Date to a TimeSpan
Convert a Duration to a TimeSpan
Convert a Duration to a TimeSpan
Formats a number of millis to a string representing the number of weeks, days, hours, minutes, seconds, millis
Convert a Period to a TimeSpan
Convert a Period to a TimeSpan
time units and values used when converting a total number of millis to those units (see the format function)
The TimeSpan object provides class represents an amount of time. It can be translated to a date with the date method. In that case, the number of millis seconds will be used to create a Date object starting from the Epoch time (see the documentation for java.util.Date)