Did you know ... | Search Documentation: |
date.pl -- Process dates and times |
year | integer | |
month | 1..12 | |
day | 1..31 | |
hour | 0..23 | |
minute | 0..59 | |
second | 0.0..60.0 | |
utc_offset | integer | Offset to UTC in seconds (positive is west) |
daylight_saving | bool | Name of timezone; fails if unknown |
date | date(Y,M,D) | |
time | time(H,M,S) |
Fri, 08 Dec 2006 15:29:44 GMT
All components except for the time zone are obligatory. If the time zone is omitted, the time is interpreted as local time.
Sunday, 06-Nov-94 08:49:37 GMT
2006-12-08T15:29:44Z
The ISO8601 format allows removing components from the
right, returning the lowest time stamp in the specified
internal. If a time is specified but no time zone, the
time stamp is computed for the local time. If only
the date components are specified, the stamp uses UTC.
To compute the start of a day in local time, use
e.g. 2006-12-08T00
.
asctime()
format, e.g.
Sun Nov 6 08:49:37 1994
This format has no time zone and is interpreted as local time.
The following predicates are exported from this file while their implementation is defined in imported modules or non-module files loaded by this module.
Fri, 08 Dec 2006 15:29:44 GMT
All components except for the time zone are obligatory. If the time zone is omitted, the time is interpreted as local time.
Sunday, 06-Nov-94 08:49:37 GMT
2006-12-08T15:29:44Z
The ISO8601 format allows removing components from the
right, returning the lowest time stamp in the specified
internal. If a time is specified but no time zone, the
time stamp is computed for the local time. If only
the date components are specified, the stamp uses UTC.
To compute the start of a day in local time, use
e.g. 2006-12-08T00
.
asctime()
format, e.g.
Sun Nov 6 08:49:37 1994
This format has no time zone and is interpreted as local time.