xavsio4 on 07/09/11
Last Edited at 07/09/11 12:12am
$date = date("Y-m-d");// current date $date = strtotime(date("Y-m-d", strtotime($date)) . " +1 day");$date = strtotime(date("Y-m-d", strtotime($date)) . " +1 week");$date = strtotime(date("Y-m-d", strtotime($date)) . " +2 week");$date = strtotime(date("Y-m-d", strtotime($date)) . " +1 month");$date = date("Y-m-d",strtotime(date("Y-m-d", strtotime($date)) . " +30 days")) //for mysql input date;
Report this snippet Tweet
Comment:
You need to login to post a comment.