/ Published in: JavaScript
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
var someDate = new Date(+jsonDate.replace(/\/Date\((-?\d+)\)\//gi, "$1"));
Comments
 Subscribe to comments
                    Subscribe to comments
                
                