TotalDays Procedure

Converts a TimeSpan to days.
Declaration
function TotalDays(span as TimeSpan) as Number

Parameters

Return value

Number — A possibly fractional number of days.

Example

Code
dim x = Hours(36)
print TotalDays(x)
Output
1.5