Calculate next sunday's date from current date

if today’s date is 22 february,now i want to calculate next first sunday using php date function…which function should i use?

[php]<?php
$firstsunday=strtotime(“first Sunday”);
echo date(‘Y-m-d’,$firstsunday);
?>[/php]

thanks ! it is working very better

Sponsor our Newsletter | Privacy Policy | Terms of Service