开发者

how to subtract two dates in objective c

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜