Yuri ,
DTOT(c_UnitsResvs.darrive) returns 5/21/2004 12:00:00 AM
DTOT(dDate2ShowBegin) returns 5/21/2004 12:00:00 AM
Thanks
GReg
>For some reason they may differ in the time portion. What are :
>?dtot(c_ScanCursor.dDateField)
>?dtot(dDate2Match)
>
>>Hi All,
>>
>>I am comparing 2 dates and getting unexpected results:
>>
>>Here is what is displayed in the Debugger watch window:
>>
>>
>>
>>c_ScanCursor.dDateField {5/21/2004}
>>dDate2Match {5/21/2004}
>>c_ScanCursor.dDateField = dDate2Match .F.
>>vartype(c_ScanCursor.dDateField) "D"
>>vartype(dDate2Match) "D"
>>SET("Strictdate") 0
>>
>>
>>
>>What Gives ???
>>
>>TIA
>>
>>Greg
Greg Foote
Software At Work, Inc.