>>Hi Cetin
>>
>>>It's a known issue with datetime. It is due to how datetime is stored (a silly way IMHO but not VFP's fault):
>>>
>>>lnTotalSecs = round(EVALUATE(THIS.cToDateTimeField) - EVALUATE(THIS.cFromDateTimeField),0)
>>
>>Thanks a million, this was driving me whacky.
>
>See
Re: Crazy behavior Thread #
883910 Message #
883986 I think it was discussed more recently, but I could not find it in a quick search.
You need to go back maybe 10+ years to find it:)
Cetin