Problem with dates from Soap (Delphi)

Hello,

I have a date like this in a Soap message

<date>2017-06-12T16:11:28.065+02:00</date>

but I get a TDateTime like this 12/06/2017 16:11:28 instead of 18:11:28.

How to get the right hour in the case ?

best regards

You can use XsDateTime type instead of usual DateTime

Thanks Evgeny