August 28th, 2000, 06:31 AM
I need to create a function in php that gives the number of working days (monday .. friday) between 2 given dates.
can someone help me with this one.??
August 28th, 2000, 04:21 PM
Dunno exactly but I think you should get the UNIX time (those long numbers => 964124743) from one date, from another, subtract and generate a date from that, so you will have days, months, etc, like a normal date.
Dunno if works!! Good luck!
Eduardo Teixeira Cardoso
PHP Programmer from Brazil