Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: epoch time

by tubaandy (Deacon)
on Jan 31, 2007 at 19:39 UTC ( [id://597612]=note: print w/replies, xml ) Need Help??


in reply to epoch time

Out of curiosity, is there a reason to not use these modules? I have found Date::Manip to be exceedingly helpful. (OK, it's for a script that reminds people that it's their turn to bring bagels and coffee into the office. You'd be surprised how irritated folks get when they don't show up on time.)

tubaandy

Replies are listed 'Best First'.
Re^2: epoch time
by davorg (Chancellor) on Feb 01, 2007 at 08:34 UTC
Re^2: epoch time
by palette (Scribe) on Feb 01, 2007 at 12:35 UTC
    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://597612]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 12:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found