Newer
Older
function dateToUnixSeconds(date) {
if (!date) {
return 0;
}
return Math.round(Date.parse(date) / 1000);
}
function dateToUnixSeconds(date) {
if (!date) {
return 0;
}
return Math.round(Date.parse(date) / 1000);
}