ios7.1 - How to get the day name in ios -


i want name of day. example

if have day 01/08/2014 want find 1st day monday,tuesday.....or saturday likewise. how can in ios. please me

have @ nsdateformatter:

nsdateformatter *dateformatter = [[nsdateformatter alloc] init]; [dateformatter setdateformat:@"eeee"]; nsstring *dayname = [dateformatter stringfromdate:yourdate]; 

more info within apples date formatting guide


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -