Software Index
Related Topics
Popular Trends
Trending Topics
Linux Software Programming  


download download home home   report broken
important software information
company name:
Steffen Beyer
license: Freeware
minimum requirements:
functional limitations:
Date::Calc description

Date::Calc - Gregorian calendar date calculations


Keep it small, fast and simple


This package consists of a C library and a Perl module (which uses the C library, internally) for all kinds of date calculations based on the Gregorian calendar (the one used in all western countries today), thereby complying with all relevant norms and standards: ISO/R 2015-1971, DIN 1355 and, to some extent, ISO 8601 (where applicable).

(See also for a scan of part of the "DIN 1355" document (in German)).

The module of course handles year numbers of 2000 and above correctly ("Year 2000" or "Y2K" compliance) -- actually all year numbers from 1 to the largest positive integer representable on your system (which is at least 32767) can be dealt with.

This is not true, however, for the import/export functions in this package which are an interface to the internal POSIX date and time functions of your system, which can only cover dates in the following ranges:

01-Jan-1970 00:00:00 GMT .. 19-Jan-2038 03:14:07 GMT [Unix etc.]
01-Jan-1904 00:00:00 LT .. 06-Feb-2040 06:28:15 LT [MacOS Classic]
(LT = local time)

Note that this package projects the Gregorian calendar back until the year 1 A.D. -- even though the Gregorian calendar was only adopted in 1582, mostly by the Catholic European countries, in obedience to the corresponding decree of Pope Gregory XIII in that year.

Some (mainly protestant) countries continued to use the Julian calendar (used until then) until as late as the beginning of the 20th century.

Finally, note that this package is not intended to do everything you could ever imagine automagically for you; it is rather intended to serve as a toolbox (in the best of UNIX spirit and traditions) which should, however, always get you where you want to go.

See the section "RECIPES" at the bottom of this document for solutions to common problems!

If nevertheless you can't figure out how to solve a particular problem, please let me know! (See e-mail address at the end of this document.). Steffen Beyer - Free Perl and C Software for Download. Gregorian calendar date calculations,efficient bit vector and set computations, generate tree representation(HTML page) of web site, contrary of database join, and more!

Regular Expressions - Object Oriented - Prime Numbers - Week Number - Gregorian Calendar - Scan Web Site - Tree Representation - Calendar Calculations - Date Calculations - Easter Algorithm - Easter Formula - Easter Sunday - Easter Monday - Leap Year - Day Of Week - Compare Dates - Bit Vector - Set Of Integers - Set Calculations - Set Operations - Sieve Of Erathostenes - Sieve Of Eratosthenes - Shift Register - Rotate Operation - Shift Operation - Carry Flag - Kruskal S Algorithm - Minimum Weight Spanning Tree - Kleene S Algorithm - Minimum Weight Path
Similar software
Bundle::Delivery (Popularity: ) : Bundle::Delivery contains modules required to run the Delivery and/or Tapestry web-publishing applications.


perl -MCPAN -e 'install Bundle::Delivery'

This bundle provides an easy way to install all the modules used by the web-publishing and community-management application Delivery, and its more esoteric online-story-weaving sibling ...

Date::ISO8601 (Popularity: ) : The international standard ISO 8601 "Data elements and interchange formats - Information interchange - Representation of dates and times" defines three distinct calendars by which days can be labelled. It also defines textual formats for the representation of dates in ...
Date::Holidays::PT (Popularity: ) : Date::Holidays::PT - Determine Portuguese public holidays


use Date::Holidays::PT;
my ($year, $month, $day) = (localtime)[ 5, 4, 3 ];
$year += 1900;
$month += 1;
print "Woohoo" if is_pt_holiday( $year, $month, $day );

my $h = pt_holidays($year);
printf "Jan. 1st is ...

#Calculation Component (Popularity: ) : #Calculation component is a powerful calculation engine for your applications. This ActiveX component integrates expression parsing and evaluation. Generally speaking, #Calculation is very useful in two main areas: first, when a formula has to be defined and evaluated at runtime ...
ECMerge Pro (Linux) (Popularity: ) : ECMerge compares and merges local/FTP/SCC text/images/folders, side-by-side or 3-way. It is designed for software engineers, web authors and other professionals who work with multiple revisions of text files or who need to keep multiple folder hierarchies in sync. Two text ...
ECMerge Pro (Solaris) (Popularity: ) : ECMerge compares and merges files and folders, side-by-side or 3-way.
It is designed for software engineers, web authors and other professionals who work with multiple revisions of text files or who need to keep multiple folder hierarchies in sync. Two ...

ECMerge Standard (Solaris) (Popularity: ) : ECMerge compares and merges files and folders, side-by-side.
It is designed for software engineers, web authors and other professionals who work with multiple revisions of text files or who need to keep multiple folder hierarchies in sync. Define favourite comparisons ...

VideoCap Pro Video OCX ActiveX (Popularity: ) : Capture Video from capture card, tv tuner, dv cam, dvd player to AVI or WMV 9, WMV8 file format.
Draw overlay bitmap on live video or save to video file. User define transparent color, alpha value.
Draw overlay time stamp ...

Chronicle for Linux (Popularity: ) : Chronicle software is a small and fast blog compiler, written in Perl with minimal dependencies.

What is a blog compiler? It is a simple piece of software which will convert a directory of text files into static tree of HTML and ...

Module::Make (Popularity: ) : Module::Make is the new way to make Perl modules.


> perl -MModule::Make=new - Foo-Bar

Writing Perl modules, especially modules intended for CPAN, requires a lot of work that just isn't fun. Instead of just writing Perl code, you need to write and ...

django-ajax-filtered-fields (Popularity: ) : django-ajax-filtered-fields contains Django fields which may be used in a many to many or foreign key relation, where the user may want to apply filters to the listed objects, because of they being too many, or just for usability reasons.

Technical ...

Drivel for Linux (Popularity: ) : Drivel is a GNOME client for working with online journals, also known as weblogs or simply blogs.

Drivel retains a simple and elegant design while providing many powerful features, including support for LiveJournal, Blogger, Movable Type, Advogato, and Atom journals. (Systems ...

User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
Similar scripts
jFin financial date arithmetic (Popularity: ) : Pure Java open source financial date arithmetic. Date adjustment, date offset, schedule generation and day count fraction calculation.
Jaslabs Date Suite (Popularity: ) : Have you ever wanted your own dating site?

Now you can with our affordable, turn-key solution. Jaslabs Date Suite includes everything you need to get your dating site running today! No coding required!


1) Includes source for all flash and .php files
2) ...

Date, Time and Sound Viewer (Popularity: ) : Display current date and time in different colors.Just drag and drop one of those movie clips. Music ON/OFF. This movie clip loads an internal sound file.In this case this sound file is called "music".To change the name ,go to music ...
XQTO Date Picker (Popularity: ) : A simple to install date picker using javascript and flash
Simple to install and at only 8K in size it adds much less weight to your page than most other date pickers.

EPB Calendar Date Selector (Popularity: ) : The EPB Calendar Date Selector, true to its name, is a JavaScript object that creates a calendar so that your users may submit date information to web forms without needing to type in a date.

It works by dynamically creating ...

Multi-Date Picker (Popularity: ) : This script allows you to simply pick dates by clicking the date of the dynamic calendar. Users can cancel their selection by re- clicking the date you have selected. The dates you picked will show on the textarea beside the ...
jQuery date picker (Popularity: ) : jQuery date picker allows you to easily add “date picker” calendars to you HTML forms.The "date pickers" allow you to pick a date by clicking on a calendar and puts the chosen date into the relevant text input.No validation is ...
PHP Date Picker Class (Popularity: ) : This PHP class generates a nice, template driven, JavaScript date/time picker in a pop-up window.This PHP class will automatically generate the required HTML and JavaScript code that will make a pop-up window appear to let the user choose a date ...
Javascript Date Selector (Popularity: ) : Say goodbye to clumsy date fields on forms! This date picker is designed to be as easy to use as possible.When you download it, you will receive one javascript source file, all of the necessary images, a demo HTML page ...
JCalendar Date Chooser (Popularity: ) : JCalendar is a Java date chooser bean for graphically picking a date. JCalendar is composed of several other Java beans, a JDayChooser, a JMonthChooser and a JYearChooser. All these beans have a locale property, provide several icons (Color 16x16, Color ...

Rate me
supported os's
downloads 12
version 5.4
size in Kb 195
user rating 0/10
our rating 0 Stars
share info
Recommend Date::Calc
Report spyware
New Software
Popular Software
Latest Reviews