Hi Joe

As far as I understand Todd's message
he wasn't trying to re-pack the date.

Regs,
M.


-----Original Message-----
From: Joe Programmer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 12 December 2001 13:12
To: Palm Developer Forum
Subject: Re: Date trouble


--- Michael Glickman wrote:
> The way you are doing it looks fine.
> True that the year is relative, but it
> shouldn't change day and month.

However, it won't store the correct year.  If you try
to store 2001 in a 7 bit bitfield, you'll get 1010001
(81) instead of 11111010001 (2001).  So, I wouldn't
think of that as "fine".


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

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

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

Reply via email to