Share Link
Copied to clipboard
Embed on Your Page
Copied to clipboard
We Stand with Ukraine
https://stackoverflow.com/questions/58530977/how-to-prevent-date-time-conversion-while-converting-a-json-string-to-xml-do by dbc_MinLength
Environment version: .NET 9.0.0 (9.0.0)
Json.NET version: Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed

<Flight>
  <FlightNumber>747</FlightNumber>
  <Source>JFK</Source>
  <Destination>LAS</Destination>
  <Status>ON TIME</Status>
  <DepDateTime>2019-10-25T07:00:00-05:00</DepDateTime>
  <Terminal>2</Terminal>
</Flight>

<Flight>
  <FlightNumber>747</FlightNumber>
  <Source>JFK</Source>
  <Destination>LAS</Destination>
  <Status>ON TIME</Status>
  <DepDateTime>2019-10-25T07:00:00-05:00</DepDateTime>
  <Terminal>2</Terminal>
</Flight>

<Flight>
  <FlightNumber>747</FlightNumber>
  <Source>JFK</Source>
  <Destination>LAS</Destination>
  <Status>ON TIME</Status>
  <DepDateTime>2019-10-25T07:00:00-05:00</DepDateTime>
  <Terminal>2</Terminal>
</Flight>
Cached Result
Last Run: 4:04:41 pm
Compile: 0.02s
Execute: 0.18s
Memory: 22.08Mb
CPU: 0.2s