Fixed the datetime format issue for TimeZone other than UTC.