(cellval)
| 184 | } |
| 185 | |
| 186 | function dateFormat(cellval) { |
| 187 | const date = new Date(parseInt(cellval.replace("/Date(", "").replace(")/", ""), 10)); |
| 188 | const month = date.getMonth() + 1 < 10 ? "0" + (date.getMonth() + 1) : date.getMonth() + 1; |
| 189 | const currentDate = date.getDate() < 10 ? "0" + date.getDate() : date.getDate(); |
| 190 | return date.getFullYear() + "-" + month + "-" + currentDate; |
| 191 | } |
| 192 | |
| 193 | function Qs2Json(url) { |
| 194 | var search = url.substring(url.lastIndexOf("?") + 1); |