1clock_iso8601(n)              Date/Time Utilities             clock_iso8601(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       clock_iso8601 - Parsing ISO 8601 dates/times
9

SYNOPSIS

11       package require Tcl  8.5
12
13       package require clock::iso8601  ?0.1?
14
15       ::clock::iso8601 parse_date date options...
16
17       ::clock::iso8601 parse_time time options...
18
19______________________________________________________________________________
20

DESCRIPTION

22       This  package  provides  functionality  to parse dates and times in ISO
23       8601 format.
24
25       ::clock::iso8601 parse_date date options...
26              This command parses an ISO8601 date string in an unknown variant
27              and returns the given date/time in seconds since epoch.
28
29              The  acceptable  options are -base, -gmt, -locale, and -timezone
30              of the builtin command clock scan.
31
32       ::clock::iso8601 parse_time time options...
33              This command parses a full ISO8601 timestamp  string  (date  and
34              time)  in  an unknown variant and returns the given time in sec‐
35              onds since epoch.
36
37              The acceptable options are -base, -gmt, -locale,  and  -timezone
38              of the builtin command clock scan.
39

BUGS, IDEAS, FEEDBACK

41       This  document,  and the package it describes, will undoubtedly contain
42       bugs  and  other  problems.   Please  report  such  in   the   category
43       clock::iso8601          of          the         Tcllib         Trackers
44       [http://core.tcl.tk/tcllib/reportlist].  Please also report  any  ideas
45       for enhancements you may have for either package and/or documentation.
46
47       When proposing code changes, please provide unified diffs, i.e the out‐
48       put of diff -u.
49
50       Note further that  attachments  are  strongly  preferred  over  inlined
51       patches.  Attachments  can  be  made  by  going to the Edit form of the
52       ticket immediately after its creation, and  then  using  the  left-most
53       button in the secondary navigation bar.
54

CATEGORY

56       Text processing
57
58
59
60tcllib                                0.1                     clock_iso8601(n)
Impressum