I have a date and i would like to only modify the time stamp in it and keep the day month year the same. Any way to do this?
The date i have this 2017-07-12 13:41:23
I have tried creating the date as
date("Y-m-d H:i:s" , strtotime(strtr("12-07-2017 13:41:23", "/", "-")))
Thanks