Click to See Complete Forum and Search --> : first day of month script


Sam
09-08-2003, 05:16 PM
I am trying to write a perl script using localtime(time) that given a specific month (0-11) and year(0-150), can find the day of the week on which said month begins
Any ideas?
Thanks in advance

Charles
09-08-2003, 05:59 PM
Use, or require, the Time::Local (http://www.perldoc.com/perl5.8.0/lib/Time/Local.html) module.