MCPcopy Create free account
hub / github.com/Autoanys/Autoanys / getNextWeek

Function getNextWeek

frontend/src/components/SubFlowCanva/variableConfig.js:72–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70}
71
72function getNextWeek() {
73 let date = new Date();
74 let day = date.getDay();
75 let diff = date.getDate() - day + 7;
76 date.setDate(diff);
77 return date.toISOString().split("T")[0];
78}
79
80function getNextMonth() {
81 let date = new Date();

Callers 1

variableConfig.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected