Home > Back-end >  Thank you for your help, thank you very much, tonight will be used, urgent urgent
Thank you for your help, thank you very much, tonight will be used, urgent urgent

Time:10-24

Thank you for your help, the date of application for using c + + programming problem: the program has three input variables the month, day, year, month, day and year are integer values, respectively, as the input date of the month, day, year, through the program can output the input date on the calendar the date of every other day, for example, the input is on November 29, 2004, is the program's output to November 30, 2004,

CodePudding user response:

Int Year=2013;
Int the Month=4;
Int Day=16;
TDateTime InputDate=EncodeDate (Year, Month, Day);
TDateTime OutputDate=InputDate + 2;
ShowMessage (FormatDateTime (" yyyy years on d m, "OutputDate));

CodePudding user response:

The building Lord
Suggest you learn how to use Google search

CodePudding user response:

There is a very simple built-in functions: incday (date, 1) is any day...

CodePudding user response:

Top 2 floor,
  • Related