数据类型转换

NSdate转NSstring
NSString* substr=[[NSString alloc] initWithData:subdata encoding:NSUTF8StringEncoding];
Nsstring转NSdate
NSString* substr=[[NSString alloc] initWithData:subdata encoding:NSUTF8StringEncoding];

你可能感兴趣的:(数据类型转换)