ipad commit 2025-12-17-01-15

This commit is contained in:
2025-12-17 01:17:13 +09:00
commit bab5060120
1962 changed files with 216780 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
<%
const getWeekNumber = (dateFrom = new Date()) => {
const currentDate = dateFrom.getDate();
const startOfMonth = new Date(dateFrom.setDate(1));
const weekDay = startOfMonth.getDay();
return parseInt(((weekDay - 1) + currentDate) / 7) + 1;
}
getWeekNumber(new Date());
getWeekNumber(new Date('2020-01-28'));
%>