Skip to content

Instantly share code, notes, and snippets.

@tofusoup429
Created August 22, 2020 10:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tofusoup429/3e757d5da98d8ad2d53a97a5e19954e2 to your computer and use it in GitHub Desktop.
Save tofusoup429/3e757d5da98d8ad2d53a97a5e19954e2 to your computer and use it in GitHub Desktop.
const {excelDateToStringDateFormat} = require('@tofusoup429/excel-date-handlers');
let stringdate= excelDateToStringDateFormat(42088,'yyyy-mm-dd');
console.log(stringdate);
//2015-03-25
let stringdate= excelDateToStringDateFormat(42088,'yyyy/mm/dd');
console.log(stringdate);
//2015/03/25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment