On Wed, 01 Nov 2006 19:15:33 +0100 Joerg.Schilling at fokus.fraunhofer.de 
(Joerg Schilling) wrote:
> Glenn Fowler <gsf at research.att.com> wrote:
> > btw, the ast source handles <tv_sec,tv_nsec> resolution times by converting
> > to 64 bit Time_t nanoseconds since the epoch, giving a max representable 
> > date of
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > "2554-07-21+23:34:33.709551614 UTC", greatly simplifying ast time 
> > manipulation
> > code

> Could you explain please?
> With a 64 bit time_t, you are able to represent 1970 +-292277256192 years.
> The current UNIX time problem is struct tm that only allows 1900 +- 2G years.

64 bit Time_t nanoseconds since the epoch != 64 bit time_t seconds since the 
epoch

-- Glenn Fowler -- AT&T Research, Florham Park NJ --


Reply via email to