I get a date from the database in this format
hh:mm:ss
And I want to add this to the current time and put back to an other table with the following format:
yyyy:mm:dd hh:mm:ss
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming you get the time from the database in a variable $dbTime I’d do something like this:
May not be the cleanest way but it is an option 🙂