Adding time to a timestamp
Posted: Thu Jul 15, 2004 1:39 am
From my mysql-database i fetch these two values:
1. "2004-07-31 23:00:00"
and
2. "02:00:00"
Now I do strtotime on the 1st, and want to add the 2nd. This should result in "2004-08-01 01:00:00"
Anyone know how this could be done in a simple and correct way?
regards tores
1. "2004-07-31 23:00:00"
and
2. "02:00:00"
Now I do strtotime on the 1st, and want to add the 2nd. This should result in "2004-08-01 01:00:00"
Anyone know how this could be done in a simple and correct way?
regards tores