Parse date strings into time values
Date::Parse provides two routines for parsing date strings into time values.
str2time(DATE [, ZONE])
str2time parses DATE and returns a unix time value, or undef upon failure.
ZONE, if given, specifies the timezone to assume when parsing if the date
string does not specify a timezome.
strptime(DATE [, ZONE])
strptime takes the same arguments as str2time but returns an array of values
($ss,$mm,$hh,$day,$month,$year,$zone). Elements are only defined if they
could be extracted from the date string. The $zone element is the timezone
offset in seconds from GMT. An empty array is returned upon failure.
- Developed at devel:languages:perl
-
5
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory/perl-TimeDate && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
TimeDate-2.30.tar.gz | 0000031109 30.4 KB | |
cpanspec.yml | 0000000666 666 Bytes | |
perl-TimeDate.changes | 0000004995 4.88 KB | |
perl-TimeDate.spec | 0000002268 2.21 KB |
Revision 28 (latest revision is 33)
Dominique Leuenberger (dimstar_suse)
accepted
request 532555
from
Stephan Kulow (coolo)
(revision 28)
- updated to 2.30 see /usr/share/doc/packages/perl-TimeDate/ChangeLog 2.30 -- Mon Feb 18 13:31:03 CST 2013 * Syncing distribution version number with Date::Parse, not functional changes - remove TimeDate-deprecated_array_use.patch and TimeDate-podfile-patch and regenerat with cpanspec
Comments 0