Files
vite_front/hwe/ts/util/joinYearMonth.ts
2022-07-08 00:11:41 +09:00

3 lines
104 B
TypeScript

export function joinYearMonth(year: number, month: number): number {
return year * 12 + month - 1;
}