Doug Dixon <[EMAIL PROTECTED]> wrote:

> Can anyone help?
> 
>     DateType todaysDate;
>     DateSecondsToDate( TimGetSeconds(), &todaysDate );
>  
> My todaysDate struct now has the right date, but it's 1996.

>From DateTime.h:

typedef struct {
        UInt16 year  :7;                   // years since 1904 (MAC format)
        UInt16 month :4; 
        UInt16 day   :5;
} DateType;

--
Roger Chaplin
<[EMAIL PROTECTED]>

-- 
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