开发者

check NSDate in month

开发者 https://www.devze.com 2023-01-01 20:12 出处:网络
I have NSDate object and I need to find from a NSA开发者_如何学运维rray (that has nsdate objects) all objects that have the same month and year.This earlier answer shows you how to get the month and d

I have NSDate object and I need to find from a NSA开发者_如何学运维rray (that has nsdate objects) all objects that have the same month and year.


This earlier answer shows you how to get the month and day information. You can use it to do what you are asking:

NSDate get year/month/day

0

精彩评论

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