Possible Duplicate:
Format a Microsoft JSON date?
The ASP.NET function Json()
formats and returns a date as
{"d":"\/Date(1240718400000)\/"}
which has to be dealt with on the client side which is problematic. What are your suggestions for approaches to sending date values back and forth?
It may be ugly, but it works:
Probably, it is not necessary to match the whole string, and just (-?[0-9]+) is enough...