on 03/11/2001 04:52 AM, allan at [EMAIL PROTECTED] wrote:

> hi
> 
> i have three html dropdown boxes containg intergers which a user can
> select as input for a desired date like:
> 
> 11 03 01 
> 
> i want to display the input above as:
> 
> Sunday the 11th of march 2001
> 
> the one that causes the trouble is the weekday.
> so my question is how can i extract/calculate the correct weekday
> based on arbritary user-input in the format shown above?


This is just a guess since I've never looked at it myself, but have you
checked the Date::Calc module? This sort of task seems to be something that
would be appropriate for a module of said name.

I could be wrong, but it's worth a quick investigation via CPAN shell's
'readme Date::Calc' ... I'm just too lazy to do it for you ;-)

-- 
Scott R. Godin            | e-mail : [EMAIL PROTECTED]
Laughing Dragon Services  |    web : http://www.webdragon.net/


Reply via email to