Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: epoch time

by palette (Scribe)
on Feb 01, 2007 at 12:35 UTC ( [id://597724]=note: print w/replies, xml ) Need Help??


in reply to Re: epoch time
in thread epoch time

Hi,

Really it was very useful. Have a method in Date::Manip ie; $date = Date_NextWorkDay($date,$off ,$time); very useful. Its easy.

But had a problem here. Consider if I am adding 10 to a date that falls on saturday or sunday then the next working day must be similar to that when I add 10 working days with a date that falls on Friday.

But it doesnt happens like that with Date::Manip

I am not sure whether I have some mistake in understanding. But anyway fixed the problem by checing whether is a working day if yes then add 10 else add 9

Thanks

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-03-29 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found