It looks like you're new here. Sign in or register to get started.
FirstDay := CALCDATE('<-CM>',GivenDate);
sabarichandru wrote: Hi.. i need to find the starting date of the month from the given input . can anybody help me to find out the answers . Regards, Sabari
Comments
Take a look at the function in the C/AL Symbol Menu under SYSTEM, Date and press help (F1) on the different functions to see how to use them.
Tino Ruijs
Microsoft Dynamics NAV specialist
It could be
If you want to find the Starting Date of the Accounting Period you must use the Accounting Period table.
But oh my foes and oh my friends, it gives a lovely light
FirstDateOfMonth := CALCDATE(MyDate,'<-CM>');
(or something like that)