var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Help Me PL!<Wokdays>
I want to calculate datediff for workdays displayed in hours and days. And i want to exclude holidays and saturday and sunday too!
1. table xxxxx
field : from_days , to_days ; both fields type datetime
2. table holidays
field : holiday : type datetime
for example : from_days 6/2/2009 13:00:00
to_days 10/2/2009 16:30:00
holiday is 9/2/2009 and sat adn sun ==> exclude
Thanks for all your help
Welcome to the forums!
Redneck has a post in the code bank that might be of some use to you.
Me.Geek = True
thank you nckdryr
but it dosn't count in time(hours)