gergy008 Posted June 17, 2010 Share Posted June 17, 2010 Okay, In order to complete a project I need a little help with this. If I was to echo date("dmyHis") I would get something like 100617183800, How would I get this but by adding say a day onto it? In otherwords, How to I add a certain amount of time to the current time? Thanks in advance! Quote Link to comment https://forums.phpfreaks.com/topic/205081-simple-timedate-question-adding-times-together/ Share on other sites More sharing options...
Psycho Posted June 17, 2010 Share Posted June 17, 2010 date("dmyHis", strtotime("+1 day")); Quote Link to comment https://forums.phpfreaks.com/topic/205081-simple-timedate-question-adding-times-together/#findComment-1073543 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.