hence ( duration -- timestamp )
Calendar > Relative timestamps

Next:ago ( duration -- timestamp )


Vocabulary
calendar

Inputs and outputs
durationa duration
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+ ;