Posted By

pflangan on 09/14/11


Tagged

date json


Versions (?)

json date format regex


 / Published in: JavaScript
 

  1. var someDate = new Date(+jsonDate.replace(/\/Date\((-?\d+)\)\//gi, "$1"));

Report this snippet  

You need to login to post a comment.