Hi Santosh!

I have checked the effect on TimDateTimeToSeconds with setting the
dtPalm.weekDay member to zero.
This has NO effect on the result, I'm getting the same
seconds-since-1904-value with dtPalm.weekDay = 0 and dtPalm.weekDay = 2.
If I call TimSecondsToDateTime with the result of TimDateTimeToSeconds (with
dtPalm.weekDay = 0) then I get the correct date AND the correct weekday
number. So I think the weekday member is ignored by TimDateTimeToSeconds and
is filled by TimSecondsToDateTime.
There must be another cause for my strange problem.

I have the PalmOS 3.5.2-Patch installed on POSE and the target hardware.

Helmut


Santhosh <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
[EMAIL PROTECTED]
>
>
> Hi
>
> The date you have specified 6/5/2001 is a Tuesday and you have specified
the
> day member dtPalm.weekDay = 0 as Sunday .....
>
> The function TimDateTimeToSeconds could be returning an invalid number
> because of  an invalid day specified ,
> which you then pass to the TimsetSeconds functions....
>
> check this out with valid data that is dtPalm.weekDay =2(2 for tuesday)
>
> Thanks,
> Santhosh
> Developers' Nation DTS Engineer
>
> Developers' Nation provides Palm OS Technical Support with a guaranteed
> response time.  Go to http://www.devnation.net




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