It’s actually rather simple. There are a lot of methods out there using XmlDocuments and such. But all you need is this …
Dim ISODateStr As String = Format(itm.date, "yyyy-MM-ddTHH:mm:ss.fffffffzzz")