[REBOL] Re: Comparing dates - need help
From: carlos::lorenz::gmail::com at: 24-Apr-2009 14:12
Thanks Petr and Greg for the help.
Really addin timezone to the date solves the question.
Cheers
2009/4/24 Carlos Lorenz <carlos.lorenz-gmail.com>
> Hi list,
>
> Need some help on this. Canīt understand why NOW is greater then TO-DATE
> a/2.
>
> >> a: [{0000145359} {2009-04-24 09:30:00} {2009-04-24 12:30:00} {100}]
> >> a/2
> == "2009-04-24 09:30:00"
> >> to-date a/2
> == 24-Apr-2009/9:30
> >> now
> == 24-Apr-2009/9:27:13-3:00
> >> now >= to-date a/2
> == true
> >>
>
> --
> Carlos Lorenz
> Unidade Lorenz Ltda
> www.revistaeletronica.com.br
> (11) 4034 1971
> (11) 7100 1540 pessoal
>
--
Carlos Lorenz
Unidade Lorenz Ltda
www.revistaeletronica.com.br
(11) 4034 1971
(11) 7100 1540 pessoal