RE: Date limited to 2031

2001-01-16 Thread Scott Johnson (Bellevue)

 From: vinod rajpal [mailto:[EMAIL PROTECTED]]
 i tried one of the date options of date calendar it allows me to select
upto
 year 2031 only , is it the maximum limit palm os can handle or we can
alter
 it, if not i think we can call this as y3k (y2k) as my application
requires
 user to select date which is far beyond 2031

Here's the official word:

http://www.palm.com/support/helpnotes/palmapps/year2000.html

It says the true end date is 2/5/40.

-slj-


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



Re: Date limited to 2031

2001-01-16 Thread Danny Epstein

"Scott Johnson (Bellevue)" [EMAIL PROTECTED] wrote in message
news:35961@palm-dev-forum...
 Here's the official word:

 http://www.palm.com/support/helpnotes/palmapps/year2000.html

 It says the true end date is 2/5/40.

But note that DateType has a 7 bit field for the year, counting from 1904,
for a maximum of 1904+127 = 2031. API's which use this type have a tighter
limit than those that use DateTimeType or a UInt32 holding the number of
seconds since 1904.

If your app needs dates in the distance past or future, you're better off
using your own routines to manipulate dates and times.
--
Danny Epstein
OS Engineer, Palm Inc.


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