I’ve been searching through the web to look for a solution for this but still stuck.
I’m having difficulties serializing DateTime object. The standard serialize using DataContract will give this result /Date(1262600239000)/. After Ext.encode the result changed to /Date(1262600239000)/. The result from Ext.encode is not readable in ExtJS date related components such as DateField and ColumnModel for date.
As for deserializing, i’d have to provide the date in this /Date(1262600239000)/ format in order to deserialize the date. How can i achive this with the ExtJS DateField?
Is there any specific ways to get around this?
Thanks in advance.
Have you tried this?
It’s an override for ExtJS’ JSON encode and decode methods. Make sure to read the last comment as well.