/ Published in: iPhone
Expand |
Embed | Plain Text
// get the current date [dateFormat setDateFormat:@"yyyy-MM-dd"]; // get the weekday of the current date NSInteger weekday = [components weekday]; // 1 = Sunday, 2 = Monday, etc.
You need to login to post a comment.
