开发者

Question related to date format

开发者 https://www.devze.com 2022-12-27 16:46 出处:网络
I have 1 string NSString *string = @\"2010-04-16 15:42:58\"; now i want to convert it to 16 april So,my string will be converted to N开发者_如何学编程SString *stringOutPut =@\"16 April\";Look at the

I have 1 string NSString *string = @"2010-04-16 15:42:58";

now i want to convert it to 16 april

So,my string will be converted to N开发者_如何学编程SString *stringOutPut =@"16 April";


Look at the NSDateFormatter

0

精彩评论

暂无评论...
验证码 换一张
取 消