How to Install and Uninstall perl-TimeDate Package on openSUSE Leap

Last updated: May 09,2024

1. Install "perl-TimeDate" package

Here is a brief guide to show you how to install perl-TimeDate on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install perl-TimeDate

2. Uninstall "perl-TimeDate" package

Please follow the steps below to uninstall perl-TimeDate on openSUSE Leap:

$ sudo zypper remove perl-TimeDate

3. Information about the perl-TimeDate package on openSUSE Leap

Information for package perl-TimeDate:
--------------------------------------
Repository : Main Repository
Name : perl-TimeDate
Version : 2.30-3.9.1
Arch : noarch
Vendor : SUSE LLC
Installed Size : 93.8 KiB
Installed : No
Status : not installed
Source package : perl-TimeDate-2.30-3.9.1.src
Upstream URL : http://search.cpan.org/dist/TimeDate/
Summary : TimeDate Perl module
Description :
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.