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

[REBOL] Re: Is there a way?

From: pwawood::gmail::com at: 11-Dec-2007 10:13

>> now/year
== 2007
>> now/month
== 12
>> now/day
== 11
>> now/time
== 10:10:12
>> now/time/precise
== 10:10:23.578 ? now USAGE: NOW /year /month /day /time /zone /date /weekday /precise DESCRIPTION: Returns the current local date and time. NOW is a native value. REFINEMENTS: /year -- Returns the year only. /month -- Returns the month only. /day -- Returns the day of the month only. /time -- Returns the time only. /zone -- Returns the time zone offset from GMT only. /date -- Returns date only. /weekday -- Returns day of the week as integer (Monday is day 1). /precise -- Use nanosecond precision Peter On 11/12/2007, Kai Peters <kpeters-otaksoft.com> wrote: