? "t1==t2",t1==t2 // shows .F.
? "t1==date()",t1==date() // shows .T.
? "t2==date()",t2==date() // shows .F.
return
Shouldn't the comparisons above all return .T.?
No, it's correct behavior. Think about SET CENTURY.
If you want reversible conversion independent from
any setting,
Hi,
On 2010 May 19, at 23:59, Leandro Damasio - 2D Info wrote:
>
> <.code>
> procedure main()
> local t1:=date()
> local t2:=ctod(dtoc(date()))
> ? "t1",t1// current date
> ? "t2",t2// current date
> ? "t1=t2",t1=t2 // shows .F.
> ? "t
Hello
Please look at the code below (harbour 2.1.0 rev 13756).
<.code>
procedure main()
local t1:=date()
local t2:=ctod(dtoc(date()))
? "t1",t1// current date
? "t2",t2// current date
? "t1=t2",t1=t2 // shows .F.
? "t1=date()",t1=date(