hence ( duration -- timestamp )
Calendar ยป Relative timestamps

Next:ago ( duration -- timestamp )


Vocabulary
calendar

Inputs
durationa duration


Outputs
timestampa timestamp


Word description
Computes a time in the future that is the duration added to the result of now.

Examples
USING: calendar prettyprint ; 10 hours hence .
T{ timestamp f 2008 9 2 2 47 45+943/1000 T{ duration f 0 0 0 -5 0 0 } }


Definition


: hence ( duration -- timestamp ) now swap time+ ;