Pam Derks wrote:
> Hi all,
> 
> I'm in search of a module that will give me the day of a week for a
> particular date.
> So for example, July 21 would return Wed
> 
> I checked CPAN but nothing jumped out at me.
> 
        There are a number of modules, but for what you want, it would be just as easy 
to roll your own. You can use:

Time::Local

Then with 'localtime' and 'timelocal', you can come up with the day of week where Sun 
= 0 and Sat = 6. From this you would be able to setup for gettin Sun or Sat.

Wags ;)
 
> Any ideas?
> 
> Thanks in advance,
> Pam


*******************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
*******************************************************


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to