Thursday, July 23, 2015

How to get today's +1 date in Dynamics Axapta X++? Or How to get tomorow date in Dynamics Axapta X++?

Hello Guys..!

 How to get today's +1 date in Dynamics Axapta?

Solution

your date variable = DateTimeUtil::date(DateTimeUtil::addDays(DateTimeUtil::getSystemDateTime(), 1));




@Rahul Talasila

1 comment:

  1. Very helpful snippet! Using DateTimeUtil::addDays is definitely the cleanest way to calculate tomorrow’s date in Dynamics AX. For developers managing AX or D365 environments, having a reliable vps for sale option can also make testing and deployment much smoother. Thanks for sharing this!

    ReplyDelete

What is the primary purpose of using a Solution in Microsoft Power Platform & ALM?

As organizations embrace low-code development with Microsoft Power Platform , it becomes essential to manage and govern apps, flows, and dat...