Tuesday, December 18, 2012

How to Add Day's in Current Date in PHP

<?php

 // strtotimeParse about any English textual datetime description into a Unix timestamp

 $NewDate = Date('m:d:Y', strtotime("+30 days"));
 
 $date_split = explode(":", $NewDate);
 print_r($date_split);

?>

1 comment:

Anonymous said...

Ι like what you guуs аге uѕually up toо.
Such clever ωorκ and reporting! Keep up the great
wοrks guys I've you guys to my blogroll.

My web page :: how to get rid of acne naturally overnight ()