I have a webapi which gets it's data from another server. Sometimes the datetime values get serialized as 1899-12-30T00:00:00 when this happens I want to format the value and return null. It is easy to do for JSON but I can't figure out how to do this for XML.
↧