I want to calculate all Sunday\'s between given two dates. I tried following code. It works fine if days are less but if i enter more days. It keeps processing and Maximum e
format('N') == 7) { $no++; } } echo $no;
See it in action