toExcelDate()
function toExcelDate(d): Date;Excel stores dates without a time zone and exceljs converts JS Dates from UTC. Re-express the local wall-clock time as UTC so the cell shows the same date and time the report shows.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
d |
Date |
Returns
Section titled “Returns”Date