[DGD] Time and time zones

nikoroleva natasha.i.koroleva at gmail.com
Thu Dec 13 14:49:44 CET 2018


Raymond Jennings <shentino at gmail.com> wrote:
>
> So, just curious, but after a recent kerfuffle with the gentoo developers I
> was curious about how DGD itself measures time.
>
> Is the time returned by kfun::time() in any particular time zone?
>
> My guess is that DGD itself doesn't bother with timezones so it's at the
> mercy of whatever your host's clock is set at.
>
> Also, I would appreciate any caveats/discussion about handling of time and
> time zones in general.

As far as I can tell, it's epoch time, the number of seconds since 1 Jan 1970.

Start with the Time object type in the cloudlib and go from there.
Showing everything in UTC is the easiest but users could configure
their timezone and daylight saving times.



More information about the DGD mailing list