I currently have the following code:
lastLoginDate = "\/Date(1499994230140+0800)\/";
lastLoginDate = moment(lastLoginDate).format("YYYY-MM-DD hh:mm:ss UTC");
lastLoginDate = new Date(lastLoginDate);
This works in chrome. However when ran in IE, new Date returns invalid date. how do i achieve the same output in IE?