Class Val.Date
- Description
Lightweight date type. Stores internally in days since epoch. Supports arithmetic with Interval, Timestamp, Time and TimeTZ objects. Cast it to
int
orfloat
to obtain unix_time.- See also
- Method
create
Val.Date Val.Date(
int
year
,int
month
,int
day
)
Val.Date Val.Date(
this_program
copy
)
Val.Date Val.Date(
Timestamp
copy
)
Val.Date Val.Date(
mapping
(string
:int
)tm
)
Val.Date Val.Date(
int
unix_time
)
Val.Date Val.Date(
float
unix_time
)
Val.Date Val.Date()