Next Question
RSS
Ya didnt know only 110 charecters
I have the code here ..
http://avinasha1987.googlepages.com/myphpfunctions
Source(s):
I used php.net manual and about.com for coming up with this code
Permalink | Report
Source(s):
http://www.hotscripts.com/PHP/Scripts_and_Programs/Calculators/index.html
http://www.hotscripts.com/PHP/Scripts_and_Programs/Calendars/index.html
Just browse the site for the information you need
Permalink | Report
The call to fill the Holidays array has Western Australian holidays in it, but I'm sure you can still get the idea.
http://snippets.dzone.com/posts/show/807
Permalink | Report
Answered Question
M$2
December 21, 2008 06:53 AM
I need a PHP function that calculates the number of work days (Mon-Fri) so far this month.
There is something similar at http://www.webmasterworld.com/php/3207166.htm , but it is working from a different perspective. I was to call a function that says there have been 15 work days so far this month. If it allow for a list of public holidays, all the better.
Interesting Question?
Yes (0)
No (0)
- In Web Development |
- |
- Report |
-
Share
RSS
Best Answer Chosen by Asker
| December 21, 2008 07:50 AM |
I have the code here ..
http://avinasha1987.googlepages.com/myphpfunctions
Source(s):
I used php.net manual and about.com for coming up with this code
| Asker's Rating: |
• Great work. There seems to be a bit of a bug in the holidays part, but it does what I need for the moment, thank you.
Permalink | Report
Other Answers (4)
December 21, 2008 07:11 AM
here are my contributions:
Source(s):
http://www.hotscripts.com/PHP/Scripts_and_Programs/Calculators/index.html
http://www.hotscripts.com/PHP/Scripts_and_Programs/Calendars/index.html
Just browse the site for the information you need
Permalink | Report
December 21, 2008 08:39 AM
Calculate number of work days between 2 dates The call to fill the Holidays array has Western Australian holidays in it, but I'm sure you can still get the idea.
http://snippets.dzone.com/posts/show/807
Permalink | Report
Answer this Question
Related Questions
Ask a Question
Buy Mahalo Dollars with Credit Card or PayPal
Top Members
Most Popular Tags
Categories
- Anonymous
- Arts & Design
- Beauty & Style
- Books & Authors
- Business
- Cars & Transportation
- Consumer Electronics
- Coupons Deals
- Education
- Entertainment
- Environment
- Fitness
- Food & Drink
- From Email
- From Iphone
- From Twitter
- Health
- History
- Hobbies
- Home & Garden
- How Tos
- Humor
- Jobs
- Legal
- Local
- Love & Relationships
- Mahalo Answers Community
- Money
- Music
- News
- NSFW
- Parenting
- Pets
- Science & Mathematics
- Services
- Shopping
- Social Science
- Society & Culture
- Sports
- Technology & Internet
- Travel
- Video Games
Welcome New Members
- teja, November 27, 2009 08:32 PM
- laurenchapman, November 27, 2009 08:25 PM
- tonibrettnewcom..., November 27, 2009 08:13 PM
- mujubhai, November 27, 2009 08:13 PM
- iriscamillemeji..., November 27, 2009 08:07 PM
Mahalo Dollars are the currency of Mahalo Answers.
Each Mahalo Dollar costs $1.
Once you earn more than 40 Mahalo Dollars, you can request to be paid via PayPal. Each Mahalo Dollar is currently worth $0.75 when paid out via PayPal. Learn More
Thanks for the link, great work!