Handbook
Glossary
start-of-month ( timestamp -- timestamp' )
Calendar
ยป
Relative timestamps
Prev:
start-of-year ( object -- timestamp )
Next:
start-of-week ( timestamp -- timestamp' )
Vocabulary
calendar
Inputs
timestamp
a
timestamp
Outputs
timestamp'
a
timestamp
Word description
Sets the timestamp with the day set to one.
Definition
USING:
accessors
;
IN:
calendar
:
start-of-month
( timestamp -- timestamp' )
midnight
1
>>day
;
inline