This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
FunctionProject/scripts/variables/timesVariables.js

8 lines
196 B
JavaScript
Raw Normal View History

/* Variables de temps */
let timeNow = new Date();
let utcOffset = timeNow.getTimezoneOffset();
timeNow.setMinutes(timeNow.getMinutes() + utcOffset);
/* Exports */
export { timeNow, utcOffset };