1DM_DATE(1)            User Contributed Perl Documentation           DM_DATE(1)
2
3
4

NAME

6       dm_date - print out the system date and time
7

SYNOPSIS

9       This performs the same operation as the unix 'date' command, but using
10       the Date::Manip module.
11
12          dm_date [OPTION]... [+FORMAT]
13

DESCRIPTION

15       This displays information about the current system time, or some other
16       time. Options are:
17
18       -h, --help
19           Print online help.
20
21       -d STRING, --date=STRING
22           Display time described by STRING. STRING can be any string which
23           can be parsed by Date::Manip.  Please refer to the
24           Date::Manip::Date documentation for details.
25
26       -f DATEFILE, --file=DATEFILE
27           This reads each line in DATEFILE, and extracts a date from it and
28           prints out the information.
29
30           Blank lines and lines starting with a pound (#) are ignored. Lines
31           not containing a valid date are also ignored.
32
33       -r FILE, --reference=FILE
34           Displays the last modification time of FILE.
35
36       -R, --rfc-2822
37           Displayc the date and time in RFC 2822 format.
38
39           Example: Mon, 07 Aug 2006 12:34:56 -0600
40
41       -u, --utc, --universal
42           Converts the date to UT (GMT) and prints out the information.
43
44       Only one of -d, -f, or -r should be included. If more than one is
45       included, the first one from the list (-d, -f, -r) is used and any
46       other is ignored.
47
48       The format string starts with a plus (+) and contains any of the format
49       directives described in Date::Manip::Date.
50

KNOWN BUGS

52       None known.
53

BUGS AND QUESTIONS

55       Please refer to the Date::Manip::Problems documentation for information
56       on submitting bug reports or questions to the author.
57

SEE ALSO

59       Date::Manip::Date
60

LICENSE

62       This script is free software; you can redistribute it and/or modify it
63       under the same terms as Perl itself.
64

AUTHOR

66       Sullivan Beck (sbeck@cpan.org)
67
68
69
70perl v5.16.3                      2014-06-09                        DM_DATE(1)
Impressum