value
In fact, gen:datetime-provider is also implemented by date , which can be treated like a datetime with its time component set to midnight. This should be considered an experimental part of the design, which may be removed.
procedure
x:any/c
procedure
#<datetime 1969年07月21日T02:56:00>
#<datetime 2015年03月08日T01:00:00>
procedure
( ->datetime/utc t)→datetime?
For a datetime , ->datetime/local and ->datetime/utc return the same thing.
#<datetime 1969年07月21日T02:56:00>
#<datetime 2015年03月08日T06:00:00>
1
1
-3
8
1
13
0
1440
86400
86400000
86400000000
86400000000000
procedure
tz#:resolve-offsetresolve-offset)tz:tz/cresolve-offset:offset-resolver/c
This function is a blunt instrument and is rarely needed. If your aim is to translate a moment into another that represents the same point in absolute time but in a different time zone, then you’re looking for adjust-timezone .
#<moment 2000年01月01日T00:00:00-05:00[America/New_York]>
#<moment 2000年01月01日T00:00:00+01:00[Europe/Paris]>