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

[REBOL] Re: Is there a way?

From: carl:cybercraft at: 11-Dec-2007 7:53

On Monday, 10-December-2007 at 20:15 Izkata wrote,
>Here you go: > >>> first now/date >== 2007 >>> second now/date >== 12 >>> third now/date >== 10 > >I don't like it, since it can feel ambiguous ('first being year, while >dates display with the year last, for example), but it works.
REBOL will accept dates with the year first...
>> 2007-12-11
== 11-Dec-2007 It's just that they decided the default output should be in a more-or-less standard format. And I think it's right that under the hood the first value should be the most significant number, same as with time. -- Carl Read.