forked from rebol/rebol
-
Notifications
You must be signed in to change notification settings - Fork 2
angerangel edited this page Mar 19, 2013
·
1 revision
NOW /year /month /day /time /zone /date /weekday /yearday /precise /utc
Returns date and time.
NOW is a native value.
- /year -- Returns year only
- /month -- Returns month only
- /day -- Returns day of the month only
- /time -- Returns time only
- /zone -- Returns time zone offset from UCT (GMT) only
- /date -- Returns date only
- /weekday -- Returns day of the week as integer (Monday is day 1)
- /yearday -- Returns day of the year (Julian)
- /precise -- High precision time
- /utc -- Universal time (no zone)
#SOURCE
now: make native! [ [
"Returns date and time."
/year "Returns year only"
/month "Returns month only"
/day "Returns day of the month only"
/time "Returns time only"
/zone "Returns time zone offset from UCT (GMT) only"
/date "Returns date only"
/weekday {Returns day of the week as integer (Monday is day 1)}
/yearday "Returns day of the year (Julian)"
/precise "High precision time"
/utc "Universal time (no zone)"
] ]