Handbook
Glossary
start-of-year ( object -- timestamp )
Calendar
ยป
Relative timestamps
Prev:
saturday ( timestamp -- timestamp' )
Next:
start-of-month ( timestamp -- timestamp' )
Vocabulary
calendar
Inputs
object
an
object
Outputs
timestamp
a
timestamp
Word description
Sets the timestamp with the month and day set to one, or January 1 of the input timestamp, given a year or a timestamp.
Definition
IN:
calendar
:
start-of-year
( object -- timestamp )
first-day-of-year
start-of-day
;