iphone - is there any easy way to get Date? -
i'm new iphone development. want set default date nsdate object string. don't see easy way or method...
i think there might method in nscalender? if there's such method, please tell me.
thanks in advance.
i'm not totally clear on asking, create instance of nsdate object current date, 1 calls: nsdate * mydate = [nsdate date];
if saying have c-string or nsstring needs parsed initialize nsdate object, that's question.
i have code posted here: how datetime column in sqlite objective c
that shows how create nsdates nsstrings using nsdateformatter.
Comments
Post a Comment