1.NSDateFormatter配合NSDate与NSString之间的转化NSDateFormatter有下面2个方法:
1 2 | - (NSString *)stringFromDate:(NSDate *)date;//NSDate转NSString - (NSDate *)dateFromStrin[......]<p class="read-more"><a href="https://www.yusian.com/blog/project/2014/12/31/101025407.html">继续阅读</a></p> |