[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

RE: [MacPerl] How do I find the day of the week from a given date (NOT today)



On Thu, 11 Mar 1999, Greg Bartlett wrote:

> I think that this can be simplified to:
> 
> -----
> #!perl -w 
> use Date::Manip;
> 
> my $date = ParseDateString("15 Mar 1999");
> print UnixDate($date, "%A");
> -----
> 
> This is a useful module.
> 
Thank you, sir. I'll give it a try. I cobbled something together real
quick, and it showed.

I haven't used it much, except as XML::XQL makes use of it, but I've
looked over the manpage for Date::Manip, and I'm impressed with it. That
was sort of another point I wanted to make - it's slower than other Date
modules for a number of things, but for sheer ability and scope it's
unrivalled.

Arved



===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org