This site uses cookies from Google to deliver its services, to personalize ads and to analyze traffic. Information about your use of this site is shared with Google. By using this site, you agree to its use of cookies. Learn More

Php How To Get Tomorow Date

Php How To Get Tomorow Date Web-development (jquery) Php How To Get Tomorow Date php how to get tomorow datephp how to get tomorow date
Use the mktime function to create a timestamp for tomorrow. To go one day in the future we simply add one to the day
mktime(hour, minute, second, month, day, year, daylight savings time)


<?
$tomorrow = mktime(0, 0, 0, date("m"), date("d")+1, date("y"));
echo "Tomorrow is ".date("m/d/y", $tomorrow);
//out now date 03/03/11 tomorow is 03/04/11
?>

0 Response to "Php How To Get Tomorow Date"

Posting Komentar

Contact

Nama

Email *

Pesan *