The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Date::Doomsday - Determine doomsday for a given year

SYNOPSIS

  use Date::Doomsday;
  $doomsday = doomsday(1945);

DESCRIPTION

Doomsday is a concept invented by John Horton Conway to make it easier to figure out what day of the week particular events occur in a given year.

doomsday

    $doomsday = doomsday( 1945 );

Returns the day of the week (in the range 0..6) of doomsday in the particular year given.

HISTORY

    $Log: Doomsday.pm,v $
    Revision 1.6  2001/05/27 03:48:27  rbowen
    Changed package to DayOfWeek rather than Doomsday, since that's the most
    useful feature here. Updated documenation, manifest, and makefile to reflect
    this.

    Revision 1.5  2001/05/27 03:02:08  rbowen
    Corrected documentation. Added Readme

    Revision 1.4  2001/05/27 02:49:20  rbowen
    Documentation.

    Revision 1.3  2001/05/27 02:46:02  rbowen
    And now it works from 1500 through 2699.

    Revision 1.2  2001/05/27 02:37:05  rbowen
    Got it working for dates in the 1900's

    Revision 1.1.1.1  2001/05/27 02:21:27  rbowen
    Start date-doomsday cvs repository

AUTHOR

Rich Bowen (rbowen@rcbowen.com)

Doomsday

Doomsday is a simple way to find out what day of the week any event occurs, in any year. It was invented by Dr John Horton Conway.

This module is not terribly useful at this time, since it only tells you what doomsday is, rather than actually calculating the weekday of a particular date. That will come in a little while.

See the following web pages for more explanation of doomsday and why it is cool.

http://www.interlog.com/~r937/doomsday.html

http://quasar.as.utexas.edu/BillInfo/doomsday.html

http://www.cst.cmich.edu/users/graha1sw/Pub/Doomsday/Doomsday.html