Hi,
How do i find No of working days between two given dates...
For ex: i need to find the working days between 5-june-2002 and 3-march-2002.
I Appriciate your help thanks srinivas
try the following code:
$d1 = "5-june-2002"; $d2 = "3-march-2002";
$diff = strtotime($d1) - strtotime($d2);
print ($diff / 60 / 60 / 24); // # of days