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.


On Mon, 2007-12-10 at 18:06 -0800, Kai Peters wrote:
> >> now/date/year
> ** Script Error: Too many refinements
> ** Where: halt-view
> ** Near: now/date/year
> >> t: now/date
> =3D=3D 10-Dec-2007
> >> t/1
> =3D=3D 2007
> >> t/year
> =3D=3D 2007
> 
> Is there a way to get the "elements" of the date without having
> to resort to the introduction of an extra word?
> 
> TIA,
> Kai

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to