Mike Blezien wrote:
> Hello,
>
> I need to create a dropdown list of week numbers ranging from the
> current week number to week number 01. The week number would be
> obtain from a MySQL database, IE: select week(curdate()); this equals
> 13
>
> and from this week#, then I need to generate a list from that week
> number, IE. 12,11,10,09,07,...etc., down to 01
>
> What would be the best way in perl to do this ??
>
Are you to use the the current date and move back or if it is Wed then go back
to your beginning of week ( Sun )?
Either way, it would be very simple with using localtime to generate from
today's date back or from Sun or Mon, etc and back.
Any questions and/or problems, please let me know.
Thanks.
Wags ;)
Int: 9-8-002-2224
Ext: 408-323-4225x2224
**********************************************************
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>