$startDate="01/01/2007"; $endDate="01/08/2007"; $startD = strtotime($startDate); $endD = strtotime($endDate); $diffSeconds = $endD - $startD; $days = ($diffSeconds / 86400); for ($wd = 1; $wd < $days; $wd++) { $weekdays = ($startD + 86400*($wd)); echo date("d-m-Y",$weekdays) . "<br />"; }
Arun Rama Balan.G is Tech Lead of Zerosoft Technologies, Thooththukudi. I had received a bachelor degree in computer science from SBK College - Aruppukottai and Masters degree in Computer Application from VHNSN College - Virudhunagar. I found these below solutions from GOOGLE SEARCH. So I update this solutions from Out side sources. Not My OWN Contents. Credit goes to Original authors..
Tuesday, November 27, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment