Class Val.Interval
- Description
Lightweight time and date interval type. It stores the interval in integers of nanoseconds, days and months. Supports arithmetic with Time, TimeTZ, Timestamp and Date objects. Cast it to
int
orfloat
to obtain seconds.- Note
Depending on daylight-saving time, a day may not equal 24 hours.
- Note
The number of days in a month depends on the the time of the year.
- See also
- Inherit
Time
inherit Time : Time
- Variable
days
int
Val.Interval.days- Description
Number of days; may not be equal to 24 hours per day, depending on daylight-saving time.