Which your db can handle without the use of any php time function.
UPDATE some_table
SET some_date_field = CURRENT_TIMESTAMP
WHERE some_condition
One thing that might be happening is that you provide a null value to a function like date(), which does NOT provide the same result with a null argument as it does without argument.
printf('date(format, null): %s<br />', date('Y-m-d H:i:s', null));
printf('date(format): %s<br />', date('Y-m-d H:i:s'));