I\'m having a problem here..
Supposed I have this kind of datetime.
$date = strtotime($date);
I need this to be converted into t
Try this query
$query= "insert into yourTable(otherValues, date) values (otherFields, DATE_ADD(NOW(),INTERVAL -1 hour))
Use DATE_ADD to insert a date value which is 1 hour less than current time.