Store the times in hidden input fields