摘要:
1、当前时间 NSDate *nowDate = [NSDate date]; NSLog(@"nowDate = %@",nowDate);2、从现在开始的24小时 NSTimeInterval secondsPerDay = 24*60*60; NSDate *tomorrow = [NSDate dateWithTimeIntervalSinceNow:secondsPerDay]; NSLog(@"tomorrow = %@",tomorrow);3、根据已有日期创建日期 NSTimeInterval secondsPerDay1 = 24*60 阅读全文
posted @ 2013-05-03 09:13
teaplant
阅读(140)
评论(0)
推荐(0)

浙公网安备 33010602011771号