/ Published in: Objective C
URL: http://www.roseindia.net/tutorial/iphone/examples/iphone-Objective-c-date.html
Expand |
Embed | Plain Text
//Create the dateformatter object //Set the required date format [formatter setDateFormat:@"yyyy-MM-dd"]; //Get the string date //Display on the console NSLog(str); //Set in the lable [dateLabel setText:str];
You need to login to post a comment.
