perl-Date-Piece-0.0.3-alt1.noarch.rpm


Advertisement

Description

perl-Date-Piece - efficient dates with Time::Piece interoperability

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package filename perl-Date-Piece-0.0.3-alt1.noarch.rpm
Package name perl-Date-Piece
Package version 0.0.3
Package release alt1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 20.70 KB
Installed size 20.70 KB
use Date::Piece qw(date);
my $date = date('2007-11-22');
my $time = $date->at('16:42:35');
print $time, "\n"; # is a Time::Piece
You can also start from a Time::Piece object.
use Time::Piece;
use Date::Piece;
my $time = localtime;
my $date = $time->date; # also ymd()
$date+=7;
print $date, "\n";
print $date->at($time), "\n";

Alternatives

Package Version Architecture Repository
perl-Date-Piece - - -

Requires

Name Value
/usr/share/perl5 -
perl(Date/Simple.pm) -
perl(Time/Local.pm) -
perl(Time/Piece.pm) -
perl(base.pm) -
perl(constant.pm) -
perl(overload.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Date/Piece.pm) = 0.0.003
perl-Date-Piece = 0.0.3-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Date-Piece-0.0.3-alt1.noarch.rpm
Source Package perl-Date-Piece-0.0.3-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Date-Piece rpm package:
    # sudo apt-get install perl-Date-Piece

Files

Path
/usr/share/doc/perl-Date-Piece-0.0.3/Changes
/usr/share/doc/perl-Date-Piece-0.0.3/README
/usr/share/perl5/Date/Piece.pm

See Also

Package Description
perl-Date-Piece-scripts-0.0.3-alt1.noarch.rpm Date-Piece scripts
perl-Date-Pregnancy-0.06-alt1.noarch.rpm calculate birthdate and week numbers for a pregnancy
perl-Date-Qreki-0.07-alt1.noarch.rpm convert Gregorian to Japanese "kyureki" dates
perl-Date-QuarterOfYear-0.03-alt1.noarch.rpm calculate what quarter a given date is in
perl-Date-Range-1.41-alt2_8.noarch.rpm Work with a range of dates
perl-Date-Range-Birth-0.02-alt1.noarch.rpm perl module Date-Range-Birth
perl-Date-RangeParser-EN-0.08-alt1.noarch.rpm Parser for plain English date/time range strings
perl-Date-Reformat-0.04-alt1.noarch.rpm Rearrange date strings
perl-Date-Remind-Event-0.06-alt1.noarch.rpm Manipulate 'remind' output with Perl
perl-Date-RetentionPolicy-0.01-alt1.noarch.rpm Prune a list of dates down to the ones you want to keep
perl-Date-Roman-1.06-alt1.noarch.rpm perl module Date-Roman
perl-Date-Roman-scripts-1.06-alt1.noarch.rpm Date-Roman scripts
perl-Date-Saka-Simple-0.25-alt1.noarch.rpm Represents Saka date
perl-Date-Say-Czech-0.05-alt1.noarch.rpm perl module Date-Say-Czech
perl-Date-Simple-Month-0.02-alt1.noarch.rpm a month of Date::Simple objects
Advertisement
Advertisement