decord/source/3639_startOfTomorrow.js

19 lines
452 B
JavaScript
Raw Normal View History

2026-07-23 10:11:24 +00:00
// Module ID: 3639
2026-07-24 07:16:23 +00:00
// Function ID: 27917
2026-07-20 16:05:17 +00:00
// Name: startOfTomorrow
// Dependencies: []
// Exports: default
2026-07-23 10:11:24 +00:00
// Module 3639 (startOfTomorrow)
2026-07-20 16:05:17 +00:00
export default function startOfTomorrow() {
const date = new Date();
const fullYear = date.getFullYear();
const month = date.getMonth();
const date2 = new Date(0);
date2.setFullYear(fullYear, month, date.getDate() + 1);
date2.setHours(0, 0, 0, 0);
return date2;
};
export default exports.default;