Top "Nsdateformatter" questions

Class that creates string representations of NSDate (and NSCalendarDate) objects, and convert textual representations of dates and times into NSDate objects.

NSDateFormatter: Date according to currentLocale, without Year

This can't be too difficult.. I want to display a date without the year. For example: "Aug, 2nd" (USA) or "02.08." (…

ios objective-c nsdateformatter
Format string for NSDateFormatter to produce milliseconds

Since my date is well formatted now all there is left for me to do is to print milliseconds too. …

cocoa-touch cocoa nsdateformatter
Hours in NSDate every time in 24-hour style?

I have this date formatter: NSDateFormatter *timeFormatter = [[NSDateFormatter alloc] init]; [timeFormatter setDateFormat:@"HH:mm"]; If I use this: NSDate *myDate = […

ios objective-c nsdateformatter
Human friendly date descriptions with NSDate on iOS

I want to display NSDates in a "human-friendly way", such as "last week", or "a few days ago". Something similar …

cocoa-touch cocoa nsdate nsdateformatter
Is it possible to add custom text in NSDateFormatter's format string?

Suppose I want the date to look like this: |1988|December|30| How can add these to the dateFormatter or for that …

ios objective-c nsdateformatter
How to get NSArray of localised day-of-week names in IOS?

How to get NSArray of localised day-of-week names in IOS? i.e. don't want to have to hardcode them in …

iphone ios localization internationalization nsdateformatter
NSDate in full style but without year

I'm working with Objective C for iPhone and have a NSDate that I want to display in full style but …

iphone nsdate nsdateformatter
how to use NSDateFormatter to see "Today" string

apple use it in the messages app for today messages Today 11:45 AM Yesterday 11:45 AM i see it in the apple …

iphone ios objective-c nsdate nsdateformatter