Parse date strings into time values

Edit Package perl-TimeDate

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.

Refresh
Refresh
Source Files
Filename Size Changed
TimeDate-1.16.tar.gz 0000022366 21.8 KB
TimeDate-deprecated_array_use.patch 0000000620 620 Bytes
TimeDate-podfile-patch 0000000404 404 Bytes
perl-TimeDate.changes 0000002406 2.35 KB
perl-TimeDate.spec 0000002436 2.38 KB
ready 0000000000 0 Bytes
Revision 5 (latest revision is 17)
unknown committed (revision 5)
Comments 0
openSUSE Build Service is sponsored by