Guys, im a newbie on php.. i want to know how to ad hours into servers date and spit it out on a users browser...
$today = date("Y-m-d");
echo "$today";
This code will print the date. ryt? The question is how to add or subtract hours to $today and spit out in a Y-m-d...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.