Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 imbibing at the Monastery: (3)
As of 2023-02-05 01:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (31 votes). Check out past polls.

    Notices?