It looks like you're new here. Sign in or register to get started.
IF DATE2DMY(whateverDate,2) = 12 THEN newDate := DMY2DATE(1, 1, DATE2DMY(whateverDate,3)+1) ELSE newDate := DMY2DATE(1, DATE2DMY(whateverDate,2)+1, DATE2DMY(whateverDate,3))
Answers
ERP Consultant (not just Navision) & Navision challenger
Try this
NewDate := CALCDATE('CM+1D', AnyDate);
Regards
Harjot
=D>
use -> MyFirstDateOnNextMonth := CALCDATE('<CM+1D>',SomeDay);
and please use insead of [SOLVED] the attribute Solved (Edit the first post, it's an option then on top)