摘要: 创建当前时间[cpp]view plaincopyprint?NSDate*date=[NSDatedate];从现在开始的24小时 NSTimeIntervala_day =24*60*60; NSDate*tomorrow = [NSDatedateWithTimeIntervalSin... 阅读全文
posted @ 2016-01-24 15:31 北狐 阅读(2216) 评论(0) 推荐(0) 编辑
摘要: 在使用日历使用中,获取星期的时候NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init];[dateFormat setDateFormat:@"EEE"];得到的String 是 “Mon” “Wed”....如果想要得到中文 “周一... 阅读全文
posted @ 2016-01-24 14:01 北狐 阅读(384) 评论(0) 推荐(0) 编辑