LogoopenSUSE Build Service > Projects
Sign Up | Log In

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.

  Authors:	Graham Barr <gbarr@pobox.com>

Source Files (show merged sources derived from linked package)

Filename Size Changed Actions
TimeDate-2.30.tar.gz 30.4 KB about 3 years ago Download File
TimeDate-deprecated_array_use.patch 513 Bytes over 8 years ago Download File
TimeDate-podfile-patch 346 Bytes almost 9 years ago Download File
cpanspec.yml 547 Bytes about 3 years ago Download File
perl-TimeDate.changes 4.78 KB about 3 years ago Download File
perl-TimeDate.spec 1.6 KB about 3 years ago Download File

Comments for home:jayvdb:perl-critic (0)