nsdate 相互轉換 nsstring.

一、字符串轉換爲日期orm   NSDateFormatter* dateFormat = [[NSDateFormatter alloc] init];//實例化一個NSDateFormatter對象          [dateFormat setDateFormat:@"yyyy-MM-dd HH:mm:ss"];//設定時間格式,這裏能夠設置成本身須要的格式          NSDate
相關文章
相關標籤/搜索