Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Comparing dates - need help

From: carlos:lorenz:gmai:l at: 24-Apr-2009 9:34

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