Added function to update the date-time correctly for PagerDuty