Are you talking about updating a timestamp in a database? If so you have many options. You could do it with a simple query using PHP.
$query = "UPDATE table SET timestamp=NOW() where ...etc..";
When that query is run PHP will set the timestamp field to the current MySQL timestamp.
HTH,
Rodney