![]() |
|
Think about Loose Coupling | |
PerlMonks |
Re^2: epoch timeby palette (Scribe) |
on Feb 01, 2007 at 12:35 UTC ( #597724=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|