Passing Date Object With Ajaxpro

304 views Asked by At

I pass an javascript object from client-side to server-side function with Ajaxpro. In server-side date variables comes inside object are looks like below. What does it mean? How can i parse it to formatted date?

"/Date(1280381400000)/"

1

There are 1 answers

0
Marimuthu Madasamy On

The number could be number of milliseconds since 1/1/1970 midnight. You need to construct the date object by passing this milliseconds and then format it.