midnight ( timestamp -- timestamp' )
Calendar ยป Relative timestamps

Prev:start-of-week ( timestamp -- timestamp' )
Next:noon ( timestamp -- timestamp' )


Vocabulary
calendar

Inputs
timestampa timestamp


Outputs
timestamp'a timestamp


Word description
Sets the timestamp to represent the day at midnight, or the beginning of the day.

Definition


: midnight ( timestamp -- timestamp' ) clone 0 0 0 set-time
; inline