开发者

how to subtract two dates in objective c

开发者 https://www.devze.com 2023-01-19 21:53 出处:网络
I have a problem. I want to subtract a date from currect date example: Result = Today - MySpeficied Date

I have a problem. I want to subtract a date from currect date example:

Result = Today - MySpeficied Date

Can any one help me with a code snippet?

Many Tha开发者_运维问答nks. Best Regards, Naveed Butt


Have a look at NSDate and timeIntervalSinceDate:.

0

精彩评论

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