Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

convert javascript date into excel date

var record_date = Date.parse(item.record_date_string)
var days = Math.round((record_date - new Date(1899, 11, 30)) / 8.64e7);
item.record_date = parseInt((days).toFixed(10));

return item;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #javascript #date #excel #date
ADD COMMENT
Topic
Name
1+5 =