Fixed invalid date in IE