Andy,
using UTime
localtime()
2016-07-27T14:41:37.497-04:00
ut()
2016-07-27T18:41:42Z
gmt() # gmt aliases ut
2016-07-27T18:41:45Z
alocaltime = localtime()
2016-07-27T14:42:04.282-04:00
ut(alocaltime)
2016-07-27T18:42:04.282Z
auniversaltime = ut()
2016-07-27T18:42:24Z
localtime(auniversaltime)
2016-07-27T14:42:24-04:00
julia> g=gmt(); g
2016-07-27T18:50:48Z
julia> year(g),month(g),day(g),hour(g),minute(g),second(g)
(2016,7,27,18,50,48)
There is more that one may do using UTime, take a look at the README examples.
It has been some time since I revisited it, so please ask if you have any questions,
and let me know if there is something that is not now working as it had.
I just ran the examples above in v0.5-.
Regards,
Jeffrey