PHP date
Posted: Tue Dec 07, 2004 4:30 am
Hi, im new to php, im trying to return todays date + 1 year, seems simple but i cant get it sorted.
ive tried
<?php $nextyear = mktime(date("m"), date("d"), date("Y")+1); ?>
this returns
1102423225
not right me thinks, i also want the date seperated by /
Any help would be appriciated.
Craig
ive tried
<?php $nextyear = mktime(date("m"), date("d"), date("Y")+1); ?>
this returns
1102423225
not right me thinks, i also want the date seperated by /
Any help would be appriciated.
Craig