NAME

PlotCalendar::DateTools - This is an all perl replacement for parts of Date::Calc. I'd love to use it, but I ran into trouble installing the compiled C onto my hosting service account, since I can't do a compile over there (it'd cost $$) So I have reproduced those functions I needed in perl. Oh well.

SYNOPSIS

require PlotCalendar::DateTools;

my ($day, $month, $year) = (5,3,1999);
my $dayname = 'Tuesday';

  # ----    initialize tool

    my $dow = Day_of_Year($yr,$mon,$day);

  my $numdays = Days_in_Month($yr,$mon);

  my $dow = Decode_Day_of_Week($dayname);

  my $dowfirst = Day_of_Week($yr,$mon,$day);

  my ($nyr, $nmon, $nday) = Add_Delta_Days($yr,$mon,$day, $numdays);

  my $dayname = Day_of_Week_to_Text($dow)

  my $month = Month_to_Text($mon);

  my $doy = Day_of_Year($year,$mon,$day);

DESCRIPTION

A perl-only clone of a subset of Date::Calc

AUTHOR

Alan Jackson
April 1999
ajackson@icct.net

REQUIREMENTS

Requires modules : 
        Exporter
        Carp
        Time::DaysInMonth
        Time::JulianDay

SEE ALSO

PlotCalendar::Month PlotCalendar::Day