티스토리 뷰

공부

[python] weekOfYear vs weekOfMonth

승가비 2024. 2. 4. 18:51
728x90
weekOfMonth will be 1, 2, 3, 4 etc...

weekOfYear will be 1 to 52 (I think)

https://stackoverflow.com/questions/25399256/nsdatecomponents-difference-between-weekofyear-and-weekofmonth

 

NSDateComponents: difference between weekOfYear and weekOfMonth

In my app, I have to set up a weekly reminder so that an alert goes off at the same day/time, a week from now. I have been using NSDateComponenents.week = 1 and adding that to an NSDate, using NSCa...

stackoverflow.com

 

728x90
댓글