start-of-week ( timestamp -- timestamp' )
Calendar ยป Relative timestamps

Prev:start-of-month ( timestamp -- timestamp' )
Next:midnight ( timestamp -- timestamp' )


Vocabulary
calendar

Inputs
timestampa timestamp


Outputs
timestamp'a timestamp


Word description
Sets the timestamp with the day of the week set to Sunday.

Definition

: start-of-week ( timestamp -- timestamp' ) sunday midnight ;