I have a time stamp like this(form a json response) :
\"/Date(1479974400000-0800)/\"
I\'m trying this function to convert time stamp into date:
If by date you mean Date instance, then you can do this:
new Date(Long.parseLong("\/Date(1479974400000-0800)\/".substring(7, 20)));