[REBOL] Re: Is there a way?
From: Karim::elfounas::easybraine::com at: 11-Dec-2007 15:34
Hello.
This works :
>> now/year
== 2007
>> now/month
== 12
>> now/day
== 11
(rebol view windows)
Kai Peters <kpeters-otaksoft.com> a =E9crit :
>>> now/date/year
> ** Script Error: Too many refinements
> ** Where: halt-view
> ** Near: now/date/year
>>> t: now/date
> == 10-Dec-2007
>>> t/1
> == 2007
>>> t/year
> == 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.
>
--
Karim EL FOUNAS
EasyBraine SA
Campagne des Rites, 8 - 1421 Ophain Bois-Seigneur-Isaac
Tel: +32 (0)2 387 32 34 - Mobile: +32 (0)495 57 32 34
karim.elfounas-easybraine.com - www.easybraine.com