PHP/ Java Script similar function like WORKDAY() Excel func?
vincee123
Status: New User - Welcome
Joined: 15 May 2008
Posts: 1
Reply Quote
Any PHP/ Java Script similar function like WORKDAY() function in Excel???

I am rewriting an application in PHP that is existing in Excel now.

In excel we have this function called WORKDAY() which Returns a number that represents a date that is the indicated number of working days before or after a date (the starting date). Working days exclude weekends and any dates identified as holidays.

Example

The example may be easier to understand if you copy it to a blank worksheet.

=WORKDAY('10/01/2008','151')

Result: Date 151 workdays from the start date (4/30/2009)

Do we have a similar function or workaround in PHP or JavaScript that I could use?

Any solutions would be of great help.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours