Hi guys. In response to a service call, my app receives XML messages from different APIs. The XML contains, among others, a dateTime element. Now, some of APIs return dateTime with timeZone (example: <Time>2018-08-17T09:30:47Z</Time>) and some without time zone (example: <Time>2018-10-17T08:00:00</Time>. I process all of these XMLs in same mapping, but I need to distinguish between UTC dateTime and non-UTC. So, how can I possibly find out the difference? Thanks.
↧