Perl Datetime
DateTime::Event::Sunrise is a Perl DateTime extension for computing the sunrise/sunset on a given day. SYNOPSIS use DateTime; use DateTime::Event::Sunrise; my $dt = DateTime->new( year => 2000, month => 6, day => 20, ); my $sunrise = DateTime::Event::Sunrise ->sunrise ( longitude...
Platforms: *nix
License: Freeware | Size: 12.29 KB | Download (101): DateTime::Event::Sunrise Download |
DateTime::Astro::Sunrise is a Perl DateTime extension for computing the sunrise/sunset on a given day. SYNOPSIS use DateTime; use DateTime::Astro::Sunrise; ^ my $dt = DateTime->new( year => 2000, month => 6, day => 20, ); my $sunrise = DateTime::Astro::Sunrise ->new(-118,33,undef,1);...
Platforms: *nix
License: Freeware | Size: 6.14 KB | Download (109): DateTime::Astro::Sunrise Download |
DateTime::Format::Epoch::TJD is a Perl module that can convert DateTimes to/from Truncated Julian Days. SYNOPSIS use DateTime::Format::Epoch::TJD; my $dt = DateTime::Format::Epoch::TJD->parse_datetime( 13244.5 ); # 2004-08-27T00:00:00 DateTime::Format::Epoch::TJD->format_datetime($dt);...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (109): DateTime::Format::Epoch::TJD Download |
DateTime::Format::Epoch is a Perl module that can convert DateTimes to/from epoch seconds. SYNOPSIS use DateTime::Format::Epoch; my $dt = DateTime->new( year => 1970, month => 1, day => 1 ); my $formatter = DateTime::Format::Epoch->new( epoch => $dt, unit => seconds, type => int, # or...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (96): DateTime::Format::Epoch Download |
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...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (93): DateTime::Format::Epoch::Unix Download |
DateTime::Format::Epoch::MacOS is a Perl module that can convert DateTimes to/from Mac OS epoch seconds. SYNOPSIS use DateTime::Format::Epoch::MacOS; my $dt = DateTime::Format::Epoch::MacOS->parse_datetime( 1051488000 ); DateTime::Format::Epoch::MacOS->format_datetime($dt); # 1051488000...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (100): DateTime::Format::Epoch::MacOS Download |
DateTime::Format::Epoch::RJD is a Perl module that can convert DateTimes to/from Reduced Julian Days. SYNOPSIS use DateTime::Format::Epoch::RJD; my $dt = DateTime::Format::Epoch::RJD->parse_datetime( 53244.5 ); # 2004-08-27T00:00:00 DateTime::Format::Epoch::RJD->format_datetime($dt); #...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (103): DateTime::Format::Epoch::RJD Download |
DateTime::Format::Epoch::MJD is a Perl module that can convert DateTimes to/from Modified Julian Days. SYNOPSIS use DateTime::Format::Epoch::MJD; my $dt = DateTime::Format::Epoch::MJD->parse_datetime( 53244 ); # 2004-08-27T00:00:00 DateTime::Format::Epoch::MJD->format_datetime($dt); #...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (102): DateTime::Format::Epoch::MJD Download |
DateTime::Format::Excel is a Perl module that can convert between DateTime and Excel dates. SYNOPSIS use DateTime::Format::Excel; # From Excel via class method: my $datetime = DateTime::Format::Excel->parse_datetime( 37680 ); print $datetime->ymd(.); # 2003.02.28 # or via an object...
Platforms: *nix
License: Freeware | Size: 15.36 KB | Download (198): DateTime::Format::Excel Download |
DateTime::Format::Strptime is a Perl module to parse and format strp and strf time patterns. SYNOPSIS use DateTime::Format::Strptime; my $Strp = new DateTime::Format::Strptime( pattern => %T, locale => en_AU, time_zone => Australia/Melbourne, ); my $dt =...
Platforms: *nix
License: Freeware | Size: 25.6 KB | Download (92): DateTime::Format::Strptime Download |
DateTime::TimeZone::SystemV is a Perl module with System V and POSIX timezone strings. SYNOPSIS use DateTime::TimeZone::SystemV; $tz = DateTime::TimeZone::SystemV->new("EST5EDT"); if($tz->is_floating) { ... if($tz->is_utc) { ... if($tz->is_olson) { ... $category = $tz->category;...
Platforms: *nix
License: Freeware | Size: 8.19 KB | Download (99): DateTime::TimeZone::SystemV Download |
DateTime::Cron::Simple is a Perl module that can parse a cron entry and check against current time. SYNOPSIS use DateTime::Cron::Simple; $c = DateTime::Cron::Simple->new($cron); $boolean = $c->validate_time; $c->new_cron($cron); This module is a quick and dirty way to determine if a...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (94): DateTime::Cron::Simple Download |
DateTime::Format::Pg is a Perl module to parse and format PostgreSQL dates and times. SYNOPSIS use DateTime::Format::Pg; my $dt = DateTime::Format::Pg->parse_datetime( 2003-01-16 23:12:01 ); # 2003-01-16T23:12:01+0200 DateTime::Format::Pg->format_datetime($dt); This module understands...
Platforms: *nix
License: Freeware | Size: 19.46 KB | Download (93): DateTime::Format::Pg Download |
DateTime::Format::Builder is a Perl module to create datetime parser classes and objects. SYNOPSIS package DateTime::Format::Brief; our $VERSION = 0.07; use DateTime::Format::Builder ( parsers => { parse_datetime => [ { regex => qr/^(d{4})(dd)(dd)(dd)(dd)(dd)$/, params => [qw( year...
Platforms: *nix
License: Freeware | Size: 48.13 KB | Download (100): DateTime::Format::Builder Download |
DateTime::Format::Epoch::DotNet is a Perl module that can convert DateTimes to/from .NET epoch seconds. SYNOPSIS use DateTime::Format::Epoch::DotNet; my $dt = DateTime::Format::Epoch::DotNet->parse_datetime( 1051488000 ); DateTime::Format::Epoch::DotNet->format_datetime($dt); #...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (100): DateTime::Format::Epoch::DotNet Download |
DateTime::Format::Roman is a Perl module with roman day numbering for DateTime objects. SYNOPSIS use DateTime::Format::Roman; my $formatter = DateTime::Format::Roman->new( pattern => %d %f %b %y ); my $dt = DateTime->new( year => 2003, month => 5, day => 28 );...
Platforms: *nix
License: Freeware | Size: 11.26 KB | Download (98): DateTime::Format::Roman Download |
DateTime::Format::Epoch::Lilian is a Perl module to convert DateTimes to/from Lilian Days. SYNOPSIS use DateTime::Format::Epoch::Lilian; my $dt = DateTime::Format::Epoch::Lilian->parse_datetime( 53244.5 ); # 2004-08-27T00:00:00 DateTime::Format::Epoch::Lilian->format_datetime($dt); #...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (89): DateTime::Format::Epoch::Lilian Download |
DateTime::Format::Epoch::RataDie is a Perl module that can convert DateTimes to/from Rata Die. SYNOPSIS use DateTime::Format::Epoch::RataDie; my $dt = DateTime::Format::Epoch::RataDie->parse_datetime( $count ); DateTime::Format::Epoch::RataDie->format_datetime($dt); # $count my...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (93): DateTime::Format::Epoch::RataDie Download |
DateTime::Format::Epoch::JD is Perl module Convert DateTimes to/from Julian Days. SYNOPSIS use DateTime::Format::Epoch::JD; my $dt = DateTime::Format::Epoch::JD->parse_datetime( 2453244.5 ); # 2004-08-27T00:00:00 DateTime::Format::Epoch::JD->format_datetime($dt); # 2453244.5 my...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (100): DateTime::Format::Epoch::JD Download |
DateTime::Format::Epoch::TAI64 is a Perl module that can convert DateTimes to/from TAI64 values. SYNOPSIS use DateTime::Format::Epoch::TAI64; my $dt = DateTime::Format::Epoch::TAI64 ->parse_datetime( 4611686019483526367 ); # 2003-06-20T19:49:59...
Platforms: *nix
License: Freeware | Size: 17.41 KB | Download (99): DateTime::Format::Epoch::TAI64 Download |