Add or Subtract Days, Months, or Years using cueent month and year and date

ShivasaiShivasai Member Posts: 15
how should I calculate current month to next months as per customer given For example
I have Date Field "Start Date" customer given like this(01-01-2022)
I have Contract Period Filed Customer should give In this field 06 Months contract period so
That ending date automatically return should be like this with calculate (01-06-2022)
can give the Reference code

Best Answer

  • KTA8KTA8 Member Posts: 354
    Answer ✓
    Expr:='<' + contractperiod + '>';
    EndDate := CALCDATE(Expr,StartDate);

Answers

  • KTA8KTA8 Member Posts: 354
    Answer ✓
    Expr:='<' + contractperiod + '>';
    EndDate := CALCDATE(Expr,StartDate);
Sign In or Register to comment.