Navneet Chanalia's SharePoint Blog
Thursday, 14 February 2019
How to convert Excel date number into JavaScript date format?
var dateVar = new Date(1900, 0, excelDate); //ignore leap year bug
var dateVar = new Date((excelDate - (25567 + 1))*86400*1000);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment