(cellval)
| 179 | } |
| 180 | |
| 181 | function dateFormat(cellval) { |
| 182 | const date = new Date(parseInt(cellval.replace("/Date(", "").replace(")/", ""), 10)); |
| 183 | const month = date.getMonth() + 1 < 10 ? "0" + (date.getMonth() + 1) : date.getMonth() + 1; |
| 184 | const currentDate = date.getDate() < 10 ? "0" + date.getDate() : date.getDate(); |
| 185 | return date.getFullYear() + "-" + month + "-" + currentDate; |
| 186 | } |
| 187 | |
| 188 | function getSpace(length) { |
| 189 | let blank = ""; |