Chris Nandor wrote: > > I would do: > > #!perl -w > use Date::Parse; > print ( (localtime( str2time('15 Mar 1999') ))[6]); > > Or for more clarity: > > #!perl -w > use Date::Parse; > use Time::localtime; > print localtime(str2time('15 Mar 1999'))->wday; > > Date::Parse is on CPAN. Thanks - just what the doctor ordered (:-) ************************************************************ * Lars G. Skjellerup * * Web designer/Programmer - Software Tester * * * * Silkeborg Bibliotek Phone: (+45) 86820233 ext. 380 * * Hostrupsgade 41 A Fax: (+45) 86802679 * * DK 8600 Silkeborg E-mail: stenone@silkeborg.bib.dk * * Denmark stenone@netscape.net * * stenone@hotmail.com * * stenone@yahoo.com * * stenone@forum.dk * * * * URL: http://www.silkeborg.bib.dk * ************************************************************ ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org