IOS: Converting NSDate to NSString gives nil value -


where mistake? have nsdate format (data: 14/05/2013 10:52:27) , have obtain nsstring.

   nslog(@"data: %@",lettureobj.data);     nsdateformatter *outputdateformatter = [[nsdateformatter alloc] init];    [outputdateformatter setdateformat:@"dd/mm/yyyy hh:mm:ss"];    nsstring *data  = [outputdateformatter stringfromdate:lettureobj.data]; 

the problem here lettureobj.data nsstring , need convert date primarly have nsdate object


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -