This project has moved and is read-only. For the latest updates, please go here.

Custom JavaScriptDateTimeConverter

Feb 22, 2012 at 2:33 PM

I'd like to create a custom JavaScriptDateTimeConverter (maybe called JavaScriptUTCDateTimeConverter) to output the format of DateTime.UTC(2012, 4, 23).  I downloaded and looked at the source of the JavaScriptDateTimeConverter that ships with JSON.Net but it wasn't real obvious to me on how to create my own version of this to output a different format.  Can someone help guide me on this?  Or is there a easier way to output a different format for my DateTIme's than having to create another converter?