gmt ( timestamp -- timestamp ) - Factor Documentation

gmt ( timestamp -- timestamp )


Vocabulary
calendar

Inputs
timestamp a timestamp


Outputs
timestamp a timestamp


Word description
Set the time zone to GMT.

Notes
The time is not converted, if you want that then call >gmt .

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

Definition
USING: accessors ;

IN: calendar

: gmt ( timestamp -- timestamp ) instant >>gmt-offset ; inline

AltStyle によって変換されたページ (->オリジナル) /