I'm doing this for two hours and nothing. This is the date in JSON:
"\/Date(1330355834000+0100)\/"
Everything I found was without timezone or for JavaScript. How to convert it to DateTime (not Date)?
I'm doing this for two hours and nothing. This is the date in JSON:
"\/Date(1330355834000+0100)\/"
Everything I found was without timezone or for JavaScript. How to convert it to DateTime (not Date)?
Scott Hanselman just posted an article about the pains of this. His post might be of some help.
I was able to get a json date and time with timezone using something like this:
var publishDate = new Date().toJSON();
You can create your own JavaScriptConverter
that can parse the data ad you would like. This gives you complete control over how your objects transform in to JSON objects and vice versa.