how can i make asp.net serialize dateTime into number of ticks in asp.net / newtonsoft.json? : In my ASP.NET web service I need all my dates to be serialized to JSON as numbers which represent a number of milliseconds passed since 1970 please. I'm using Newtonsoft.Json serializer. What do I need to do to set it up this way?