Opened 15 years ago

Closed 15 years ago

#478 closed defect (fixed)

Addmonth() returns invalid date time

Reported by: romicadascalescu Owned by: romicadascalescu
Priority: major Milestone: 3.5.0
Component: FDO API Version: 3.4.0
Severity: 3 Keywords:
Cc: External ID:

Description

Evaluating Addmonth(Currentdate(),-6) returns invalid date time.

Change History (1)

comment:1 by romicadascalescu, 15 years ago

Resolution: fixed
Status: newclosed

There was a wrong sign when we calculated the resulted Month. replaced "dt.month = 12 - (curr_month + num_of_months);" with "dt.month = 12 + (curr_month + num_of_months);"

Note: See TracTickets for help on using tickets.