Post function: set current time to custom field