For a date-time, its time:day is the (string represntation of)
the two-digitday of the month.
Cwm implements this as a function.
For a date-time, its time:dayOfWeek is the (string reopresntation of)
the day number within the week, Sunday being 0.
Currently the result is a sinbgle digit string but don't count on it
being anything other than a valid integer represetnation.
Cwm implements this as a function.
For a date-time format string, its time:gmtime is the
result of formatting the Universal Time of processing
in the format given. If teh fiormat string has zero length,
then the ISOdate standrad format is used.
[ is time:gmtime of ""] the therefore the current date time.
It will end with "Z" as a timezone code.
Cwm implements this as a function.
Rules which use this function will of course NOT be repeatable.
For a date-time, its time:hour is the two-digit hour in the 24 hour clock.
Cwm implements this as a function.
For a date-time, its time:inSeconds is the (string reopresntation of)
the floating point number of seconds since the beginning of the era
on the given system. Don't assume a particular value, always test for it.
Cwm implements this as a bidirectional function: you can calculae the
ISO date from the seconds since the beginning of the era, or vice-versa.
For a date-time format string, its time:localTime is the
result of formatting the current time of processing and local timezone
in the format given. If the format string has zero length,
then the ISOdate standrad format is used.
[ is time:localTime of ""] the therefore the current date time.
It will end with a numeric timezone code or "Z" for UTC (GMT).
Cwm implements this as a function.
Rules which use this function will of course NOT be repeatable.
For a date-time, its time:minute is the two-digit number of seconds.
Cwm implements this as a function.
For a date-time, its time:month is the two-digit month.
Cwm implements this as a function.
For a date-time, its time:second is the two-digit number of seconds.
Cwm implements this as a function.
For a date-time, its time:timeZone is the trailing timezone offset
part, e.g. "-05:00".
Cwm implements this as a function.
For a date-time, its time:year is the (string representation of)
the four-digit year.
Cwm implements this as a function.