Output modified timestamp in correct format