Skip to main content

dateFromString returns nill!!!

HI ,

This is called a good beginning - when i was working on a issue i stuck out on a issue when i try to convert a string in  to NSDATE and first i thought i doing some wrong thing but after doing some R & D i got this function always returns -nill value either you are giving any format ,Firstly i tried to give a nslocale but here it is also failed so then i got a technical answer of apple regarding this function and then try it on the lower os but still i failed so .I can say i get to know a bad function in the ios 4.2 .

Here is the link of the technical doc regarding the query -Apple technical doc

and if you want to try some more by your hand then try new string format . by the way i tried it in these ways
[outformatter setDateFormat:@"MMM dd, yyyy"];
[outformatter setDateFormat:@"MMM d, yyyy"];
[outformatter setDateFormat:@"MMM dd, YYYY"]; some time it gives error on small year alphabet.

Finally what i got a nonworking funtion in ios 4.2 that we should declare a bug in the sdk ,By the way ios 4.3 is in beta mode i hope it will work upon that one .

Comments

Popular posts from this blog

the initiation

HI all welcome to my blog spot here i comes for sharing knowledge and gaining too  here welcome all to person who want to discuss about objective c ,xcode,macosx etc i mean everything all about the iphone and its application.  Recently like the iphone sdk 3.0 has been launched and every developer has to work with it but still the developers are getting some problem so here we comes help to each other by sharing our problem and making and trying them solved easily .By this we can make the problem solved and the can gain the things which would be better for our professional life  THanks  Balraj verma 

Ios 6 Vs Jelly Bean !!!

Well , Well , Well this gonna be a boom because ios 6 going to be launched by Apple in this summer fall so Google is ready with Jelly Bean and Window os 7 is already creating impression by their outlook and quick and easy usage to his user's. As the facebook is getting famous day by day they are also planned to keep these things to as much near as possible so each os is giving default Facebook Access to the os . The work of user is getting less as the phone are getting more intelligence. You don't need to add a new address in your contact book if user already exists in your Social network. The os will itself fetch the data from social site and add that user in your contact book. So apple come with each time a new initiation and lesson for other mobile os. So far ios 6 is going to be a BOOOOOOM and here are some of the newly added feature by Apple in ios6. Maps IOS 6  drops Google's mapping technology in the form of an inhouse Apple solution, while  window phon