austine_power007 Posted December 18, 2006 Share Posted December 18, 2006 $start = date("d/m/y", strtotime($start_dat));this $start returns me something like : 11/12/06 but i want the yr to be 2006 not 06........how can i do that ?? Link to comment https://forums.phpfreaks.com/topic/31054-date-function/ Share on other sites More sharing options...
trq Posted December 18, 2006 Share Posted December 18, 2006 Its all in the [url=http://php.net/date]manual[/url]. Use Y instead of y. Link to comment https://forums.phpfreaks.com/topic/31054-date-function/#findComment-143390 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.