>local-time ( timestamp -- timestamp' )
Calendar

Prev:now-utc ( -- timestamp )
Next:>gmt ( timestamp -- timestamp' )


Vocabulary
calendar

Inputs
timestampa timestamp


Outputs
timestamp'a timestamp


Word description
Converts the timestamp to the timezone of your computer, returning a new timestamp instance.

Examples
USING: accessors calendar kernel prettyprint ; now now-gmt >local-time [ gmt-offset>> ] same? .
t


See also
local-time, convert-local-time, gmt, >gmt, convert-gmt, utc, >utc, convert-utc, convert-timezone

Definition