|There's more than one way to do things|
Another date related one.....by meetn2veg (Scribe)
|on Oct 11, 2002 at 17:13 UTC||Need Help??|
meetn2veg has asked for the wisdom of the Perl Monks concerning the following question:
Right! Looking to find the difference in days between 2 dates in the future (stored in dd/mm/yy format - but makes no odds:split / etc...).
I've gone through the Q&A here, I've had a look at Date::Calc et al (made things worse!) and I'm really getting my knickers in a twist!
Do I really need to convert dd/mm/yy into seconds? Dates overlapping months? Dates overlapping years? What about Leap years?? AARRGGHH!!
Still relatively new etc.. but with Date::Calc, how do you pass the respective vars to it? All I'm after is $date_in, $date_out and $date_diff. Is that too much to ask?!?
Eagerly awaiting any help (and probably pressing F5 every couple of seconds!!!).