In my code I get JSON response as /Date(1238626800000)/
.
I want to convert this object to Unix Timestamp. So I would like to know that whether is there any default javascript or jquery method which can convert it to Unix Timestamp ?
So My Input Date is: /Date(1238626800000)/
and
Output I want is: 1238626800000
I can do it with RegEx
but this is last option if no default method available