Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: module for days conversion

by sauoq (Abbot)
on May 17, 2012 at 05:35 UTC ( #970985=note: print w/replies, xml ) Need Help??


in reply to module for days conversion

I could do this manually by dividing down and using modulus

You may be able to do what you want with Date::Calc. If not, you almost certainly could with Date::Manip::Delta.

When you aren't dealing with specific dates, you run into problems which might not be obvious at first. How many months is 3100 days? Or how many days is 3 months?

-sauoq
"My two cents aren't worth a dime.";

Replies are listed 'Best First'.
Re^2: module for days conversion
by live4tech (Sexton) on May 19, 2012 at 04:03 UTC
    Thanks, this was helpful!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://970985]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (1)
As of 2023-03-25 02:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (62 votes). Check out past polls.

    Notices?