Hi,
       Can you explain me what do u need exactly with this code you have
written. If you mail me in detail i will propose an alternate solution. I
also had the same problem when i was working with DateType.



Regards
Nag Malluru
Sr. Software Engineer,

JP Systems(India) Ltd.,
+9140 6667794/95 x-217
----- Original Message -----
From: Vini P <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Monday, October 29, 2001 12:21 PM
Subject: Date, date , date and date problem


> Hi,
>    Could any body tell me abt how to solve the date
> problem, Bcoz I am asking this 3 rd time. Does we have
> to do any kind of operations b4 assignig to datetype
> struct. I am uing struct like
> struct DateType
> {
>    WORD day : 4;
>    WORD month : 5;
>    Word year : 7;
> };
>
> Then I am taking out day , month and year from the
> string. and assigning to DateType struct. Does we have
> to add 1904 in date if yes still I am getting problem.
> I am not able to sync from pc to palm.
> my code is like this..
>
> WORD day = 12;
> WORD month = 12;
> WORD year = 2001;
>
> DateType date;
> date.dat = SyncHHToHostWord(day);
> date.month = SyncHHToHostWord (month);
> date.year = SyncHHToHostWord (year);
>
> I know some where I am wrong but where ?????
>
>
>
>
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.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