graham23s Posted July 25, 2007 Share Posted July 25, 2007 Hi Guys, i have a field in mysql which contains a timestamp: 2007-07-25 22:52:14 i was going to add a new variable but adding 1 hour to it so it would read: 2007-07-25 23:52:14 im not sure how to format the date to read add 1 hour to the date stamp any help would be great cheers Graham Link to comment https://forums.phpfreaks.com/topic/61758-time-calculations/ Share on other sites More sharing options...
roopurt18 Posted July 25, 2007 Share Posted July 25, 2007 http://dev.mysql.com/doc/refman/4.1/en/date-and-time-functions.html#function_date-add Link to comment https://forums.phpfreaks.com/topic/61758-time-calculations/#findComment-307484 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.