开发者

How to get a date for a day in current week

开发者 https://www.devze.com 2023-02-25 01:58 出处:网络
i need to set alarm for monday开发者_开发百科 , Saturday ,friday etc... on every week repeatedly. You can follow following link for your answer.

i need to set alarm for monday开发者_开发百科 , Saturday ,friday etc... on every week repeatedly.


You can follow following link for your answer.

How to find what day of the week for any given date using Cocoa

Just need to do some stuff. It returns opposite of what you need so accordingly you can do some stuff to get what you required.

Hope it helps.


Take a look at the NSDate Class Reference.

0

精彩评论

暂无评论...
验证码 换一张
取 消