I am not sure about why you have the 0 value.
Perhaps, try getting the server time - to whatever detail you like - then input that variable into mySQL after an edit is done - I am assuming the update is done through a PHP page.
$today = date("l, F j, Y, g:i a");