[b]Calculate first sunday date from user supplied date
if i passsed 1 mar 2014 date to function,it will calculate first sunday date 2 mar 2014[/b]
[b]Calculate first sunday date from user supplied date
if i passsed 1 mar 2014 date to function,it will calculate first sunday date 2 mar 2014[/b]
[php]<?php
echo date(‘d/m/Y’, strtotime(‘next Sunday’, strtotime(‘2014-03-01’)));
?>[/php]