MVC - Handling json dates with a custom converter

added by dwcarter
4/11/2012 8:36:10 AM

1 Kicks, 88 Views

Handling dates in json can be a real pain as it has no concept of a date datatype - however by using the jQuery ajax() method and specifying a custom converter you can easily turn dates sent from the server into Date objects on the client.