1clock_rfc2822(n) Date/Time Utilities clock_rfc2822(n)
2
3
4
5______________________________________________________________________________
6
8 clock_rfc2822 - Parsing RFC 2822 dates/times
9
11 package require Tcl 8.5
12
13 package require clock::rfc2822 ?0.1?
14
15 ::clock::rfc2822 parse_date date
16
17______________________________________________________________________________
18
20 This package provides functionality to parse dates in RFC 2822 format.
21
22 ::clock::rfc2822 parse_date date
23 This command parses an RFC2822 date string and returns the given
24 date in seconds since epoch. An error is thrown if the command
25 is unable to parse the date.
26
28 This document, and the package it describes, will undoubtedly contain
29 bugs and other problems. Please report such in the category
30 clock::rfc2822 of the Tcllib Trackers [http://core.tcl.tk/tcllib/re‐
31 portlist]. Please also report any ideas for enhancements you may have
32 for either package and/or documentation.
33
34 When proposing code changes, please provide unified diffs, i.e the out‐
35 put of diff -u.
36
37 Note further that attachments are strongly preferred over inlined
38 patches. Attachments can be made by going to the Edit form of the
39 ticket immediately after its creation, and then using the left-most
40 button in the secondary navigation bar.
41
43 Text processing
44
45
46
47tcllib 0.1 clock_rfc2822(n)