SYNOPSIS
package require Tcl 8.5package require clock::iso8601 ?0.1?
::clock::iso8601 parse_date date options...
::clock::iso8601 parse_time time options...
DESCRIPTION
This package provides functionality to parse dates and times in ISO 8601 format.
- ::clock::iso8601 parse_date date options...
-
This command parses an ISO8601 date string in an unknown variant and
returns the given date/time in seconds since epoch.
The acceptable options are -base, -gmt, -locale, and -timezone of the builtin command clock scan.
- ::clock::iso8601 parse_time time options...
-
This command parses a full ISO8601 timestamp string (date and time) in
an unknown variant and returns the given time in seconds since epoch.
The acceptable options are -base, -gmt, -locale, and -timezone of the builtin command clock scan.