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.
- Sources inherited from project SUSE:SLE-12:Update
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout SUSE:SLE-12-SP1:GA/perl-TimeDate && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
TimeDate-1.20.tar.bz2 | 0000027982 27.3 KB | |
TimeDate-deprecated_array_use.patch | 0000000513 513 Bytes | |
TimeDate-podfile-patch | 0000000346 346 Bytes | |
perl-TimeDate-getdate.patch | 0000001569 1.53 KB | |
perl-TimeDate.changes | 0000005038 4.92 KB | |
perl-TimeDate.spec | 0000002711 2.65 KB |
Latest Revision
Zsolt KALMAR (zkalmar)
committed
(revision 1)
Set link to perl-TimeDate.13757 via maintenance_release request
Comments 0