change the datetime format to be ISO 8601