Click here to Skip to main content
16,021,172 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to displey the tomorrow date with format month date for example April 3. please teel me
Posted

NSDate *today = [NSDate date];
NSDate *tomo = [now addTimeInterval:60*60*24*1];

NSDateFormatter* formatter = [[[NSDateFormatter alloc] init] autorelease];

// Set the required date format
[formatter setDateFormat:@"MMMdd"];

// Get the string date
NSString* str = [formatter stringFromDate:tomo];
 
Share this answer
 
Please check below code of getting tomorrow in specific date format

C#
// get tomorrow days with specific date format
Response.Write(DateTime.Now.AddDays(1).ToString("MMMM, dd"));
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900