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-15:Update
-
1
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Step:15-SP1/perl-TimeDate.13688 && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
TimeDate-2.30.tar.gz | 0000031109 30.4 KB | |
cpanspec.yml | 0000000709 709 Bytes | |
perl-TimeDate-getdate.patch | 0000000391 391 Bytes | |
perl-TimeDate.changes | 0000005214 5.09 KB | |
perl-TimeDate.spec | 0000002324 2.27 KB |
Latest Revision
Marcus Meissner (msmeissn)
committed
(revision 1)
Release from SUSE:Maintenance:13688 / perl-TimeDate.SUSE_SLE-15_Update
Comments 0