NSCalendarDate formatting error
NSCalendarDate formatting error
- Subject: NSCalendarDate formatting error
- From: Ben Mackin <email@hidden>
- Date: Fri, 22 Mar 2002 18:45:17 -0800
I am trying to make NSCalendarDate formatted how I want. However the
following two lines will crash my app (it just quits as soon as it hits
them). I cant seem to see what is wrong, please let me know where I made the
mistake.
[currentDate setCalendarFormat:@"%A-%I:%M"];
currentDate = [NSCalendarDate calendarDate];
What I am trying to ultimatly do is create a string with the current
Day-Time, so that I can create a file called that.
Thanks,
Ben
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.