You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This call returns nine values: seconds, minutes, hours, day, month, year, day of
41
-
the week, daylight savings time flag and time zone. Note that the day of the
40
+
**NB**: in the next section we'll use the `local-time` library to get more user-friendy functions, such as `(local-time:universal-to-timestamp (get-universal-time))` which returns `@2021-06-25T09:16:29.000000+02:00`.
41
+
42
+
This call to `decode-universal-time` returns nine values: `seconds, minutes, hours, day, month, year, day of
43
+
the week, daylight savings time flag and time zone`. Note that the day of the
42
44
week is represented as an integer in the range 0..6 with 0 being Monday and 6
43
-
being Sunday. Also, the time zone is represented as the number of hours you need
44
-
to add to the current time in order to get GMT time. So in this example the
45
-
decoded time would be 19:22:06 of Friday, January 25, 2002, in the EST time
45
+
being Sunday. Also, the **time zone** is represented as the number of hours you need
46
+
to add to the current time in order to get GMT time.
47
+
48
+
So in this example the
49
+
decoded time would be `19:22:06 of Friday, January 25, 2002`, in the EST time
46
50
zone, with no daylight savings in effect. This, of course, relies on the
47
51
computer's own clock, so make sure that it is set correctly (including the time
48
52
zone you are in and the DST flag). As a shortcut, you can use
0 commit comments