Has anyone taken an ASCII date in a format like mm/dd/yy and stuffed it into
a DateType. I am curious how you populate the DateType structure. The
declaration of the structure looks foreign to me. It looks like it should be
6 Bytes but is really only 2.

I see that there is a DateToAscii function, but no AsciiToDate.

Mark Douglas



typedef struct{

UInt16 year :7; //years since 1904 (Mac format)

UInt16 month:4;

UInt16 day :5;

}DateType;




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