var timestamp = _id.toString().substring( 0, 8 ); var date = new Date( parseInt( timestamp, 16 ) * 1000 );