On Sat, 2003-02-01 at 11:07, Henk Jonas wrote:
> Hi group,
> 
> could someone explain me why all three dates in my pdb headers are 
> something around 0x3e3bcffb ? The docs say it shall be "the number of 
> seconds since 12:00 A.M. on January 1, 1904." But when I approximate 100 
> years then I get 36524 days * 24 h/day * 60 minutes/hour * 60 
> seconds/minute which is 3155673600 or in hexadecimal 0xbc17c200.
> Anybody can help me out?
> 

I might make a guess that the dates were generated this morning at about
5:47:39 (possibly off because of locale differences) by a system that is
basing it's epoch as being midnight, 1/1/1970 (such as most (all?) PC
systems).  The 0x3e3bcffb timestamp is about 33.1 years (and change),
which makes it about right for such a system.  No idea as to how that
would end up in pdb headers created on a Palm system.

Why did Palm base their epoch on the 1904 date anyway?  It means the
clock will overrun and we'll have another "Y2K" panic in "only" 36 more
years!  :-)

        /dwight

-- 
Dwight Tovey <[EMAIL PROTECTED]>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to