on 492ae2f help sign in
35 lines 530 B history raw
1### `++unt`
3UGT to UTC time
5Transforms Urbit Galactic Time to UTC time, producing an atom.
7Accepts
8-------
10An atom of [odor]() [`@da`](), representing an absolute date.
12Produces
13--------
15An atom.
17Source
18------
20 ++ unt :: UGT to UTC time
21 |= a=@da
22 (div (sub a ~1970.1.1) (bex 64))
23 ::
25Examples
26--------
28 ~zod/try=/hom> (unt -<-)
29 1.413.927.704
30 ~zod/try=> (unt ~20014.1.1)
31 569.413.670.400
32 ~zod/try=> (unt ~2014.1.1)
33 1.388.534.400