DateTime::Format::Epoch::UnixDateTime::Format::Epoch::Unix is a Perl module that can convert DateTimes to/from Unix epoch seconds. | |
Download |
DateTime::Format::Epoch::Unix Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Eugene van der Pijli
- Publisher web site:
- http://search.cpan.org/~pijll/DateTime-Format-Epoch-0.10/lib/DateTime/Format/Epoch/TJD.pm
DateTime::Format::Epoch::Unix Tags
DateTime::Format::Epoch::Unix Description
DateTime::Format::Epoch::Unix is a Perl module that can convert DateTimes to/from Unix epoch seconds. DateTime::Format::Epoch::Unix is a Perl module that can convert DateTimes to/from Unix epoch seconds.SYNOPSIS use DateTime::Format::Epoch::Unix; my $dt = DateTime::Format::Epoch::Unix->parse_datetime( 1051488000 ); # 2003-04-28T00:00:00 DateTime::Format::Epoch::Unix->format_datetime($dt); # 1051488000 my $formatter = DateTime::Format::Epoch::Unix->new(); my $dt2 = $formatter->parse_datetime( 1051488000 ); $formatter->format_datetime($dt2);This module can convert a DateTime object (or any object that can be converted to a DateTime object) to the number of seconds since the Unix epoch. Requirements: · Perl
DateTime::Format::Epoch::Unix Related Software