Parse date strings into time values

Edit Package perl-TimeDate
http://search.cpan.org/dist/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.

Authors: Graham Barr

Refresh
Refresh
Source Files
Filename Size Changed
TimeDate-2.33.tar.gz 0000029997 29.3 KB
cpanspec.yml 0000000664 664 Bytes
perl-TimeDate.changes 0000007025 6.86 KB
perl-TimeDate.spec 0000002316 2.26 KB
Revision 36 (latest revision is 37)
Pedro Monreal Gonzalez's avatar Pedro Monreal Gonzalez (pmonrealgonzalez) accepted request 808139 from Tina Müller's avatar Tina Müller (tinita) (revision 36)
updated to 2.33
   see /usr/share/doc/packages/perl-TimeDate/ChangeLog
  2.33 -- 
  
    * Remove PAX Headers in tarball using GNU tar
  
Comments 0
openSUSE Build Service is sponsored by