time_t

Glen Ditchfield gjditchfield at acm.org
Thu Jul 17 10:56:31 EDT 2008


Stuart D. Gathman wrote:

> The issue here isn't the data file (which I assumed we all agreed
> included the needed info).  The issue is that loading the
> nice ascii timestamp with timezone into just a time_t field in memory
> (even a 64 bit one) loses critical info: the timezone.

On POSIX systems, and on Windows as far as I can see, time_t contains
seconds since midnight, Jan 1 1970 UTC, so a timezone is in there. 
GnuCash's timezone problem isn't time_t's fault.

http://msdn.microsoft.com/en-us/library/1f4c8f33(VS.80).aspx
http://en.wikipedia.org/wiki/Time_t



More information about the gnucash-devel mailing list