In my ajax success I am getting result.Date as \"/Date(-2208967200000)/\". I need to check with the following date and proceed..<
ajax
result.Date
\"/Date(-2208967200000)/\"
You could use a regex to get the value between the brackets and then pass that to the Date():
Date()
var input = "/Date(-2208967200000)/"; var matches = /\(([^)]+)\)/.exec(input); var date = new Date(parseInt(matches[1], 10));
Example fiddle