when you are working with dates
in axapta the following samples may useful for you.
systemdateget() + 10; //Add 10days to a date
dateMthFwd(systemdateget(), 5); //Add 5 months to a date
dateMthFwd(systemdateget(), 36); //Add 3 years to a date
here dateMthFwd is the system function it will converrt the months into years.but we dont have function to add the number of years directly to that function.
systemdateget() + 10; //Add 10days to a date
dateMthFwd(systemdateget(), 5); //Add 5 months to a date
dateMthFwd(systemdateget(), 36); //Add 3 years to a date
here dateMthFwd is the system function it will converrt the months into years.but we dont have function to add the number of years directly to that function.
No comments:
Post a Comment