머리가 나뻐서 week 함수를 쓸 때마다
사용법이 아리까리 하다..
난 머리가 안 좋으므로
정리하기로 했다 .ㅎㅎㅎㅎ
아래 표 참고요~좀 외우자 ㅎㅎ
Mode | First day of week | Range | Week 1 is the first week … |
---|---|---|---|
0 | Sunday | 0-53 | with a Sunday in this year |
1 | Monday | 0-53 | with more than 3 days this year |
2 | Sunday | 1-53 | with a Sunday in this year |
3 | Monday | 1-53 | with more than 3 days this year |
4 | Sunday | 0-53 | with more than 3 days this year |
5 | Monday | 0-53 | with a Monday in this year |
6 | Sunday | 1-53 | with more than 3 days this year |
7 | Monday | 1-53 | with a Monday in this year |