Main > Programming > Libraries >

Date::Formatter 0.09

Date::Formatter 0.09

Sponsored Links

Date::Formatter 0.09 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.012 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 868
Date added: 2007-06-09

Date::Formatter 0.09 description

Date::Formatter Perl module is a simple Date and Time formatting object.

SYNOPSIS

use Date::Formatter;

# create a Date::Formatter object with the current date and time.
my $date = Date::Formatter->now();

# create a formatter routine for this object
# see formatter mini-language documentation below
$date->createDateFormatter("(hh):(mm):(ss) (MM)/(DD)/(YYYY)");

print $date; # print date in this format -> 12:56:03 4/12/2004

# get the formatter for use with other objects
my $formatter = $date->getDateFormatter();

# create an interval of time
my $interval = Date::Formatter->createTimeInterval(years => 1, days => 2, minutes => 15);

# re-use the formater from above
$interval->setDateFormatter($formatter);

print $interval; # print date in this format -> 12:56:03 4/12/2004

# use overloaded operators
my $future_date = $date + $interval;

# sort the dates (again with the overload operator)
my @sorted_dates = sort { $a <=> $b } ($date, $interval, $future_date);

This module provides a fast and very flexible mini-language to be used in formatting dates and times. In order to make that useful though, we had to make a fully functioning date & time object. This object looks and smells much like the Java and Javascript Date object on purpose. We also overloaded a number of operators to allow date addition and subtraction as well as comparisons.

Date::Formatter 0.09 Screenshot

Advertisements

Date::Formatter 0.09 Keywords

Bookmark Date::Formatter 0.09

Hyperlink code:
Link for forum:

Date::Formatter 0.09 Copyright

WareSeeker periodically updates pricing and software information of Date::Formatter 0.09 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Date::Formatter 0.09 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
DateTime::Format::Pg is a Perl module to parse and format PostgreSQL dates and times. Free Download
DateTime::Format::Epoch::TJD is a Perl module that can convert DateTimes to/from Truncated Julian Days. Free Download
DateTime::Format::Epoch::RataDie is a Perl module that can convert DateTimes to/from Rata Die. Free Download
DateTime::Format::Epoch::Unix is a Perl module that can convert DateTimes to/from Unix epoch seconds. Free Download
DateTime is a date and time object. Free Download
DateTime::Format::Epoch::DotNet is a Perl module that can convert DateTimes to/from .NET epoch seconds. Free Download
App::Manager is a Perl module for installing, managing and uninstalling software packages. Free Download
DateTime::Precise can perform common time and date operations with additional GPS operations. Free Download