sseeley Posted May 26, 2009 Share Posted May 26, 2009 I have a date that I recieve as a post an example being $date = "01/04/1977". I need to add one day onto this date, can anyone help me with this? I also need to be able to look up the day of the week for this date? Is this possible? Many thanks in advance. Stuart Link to comment https://forums.phpfreaks.com/topic/159764-date-1-day/ Share on other sites More sharing options...
Maq Posted May 26, 2009 Share Posted May 26, 2009 $date = "01/04/1977"; $tom = date("m/d/Y", strtotime("$date +1 Day")); echo $tom; ?> Link to comment https://forums.phpfreaks.com/topic/159764-date-1-day/#findComment-842647 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.