Wednesday 29 November 2017

Understand Date and Time with Timezone

I have came across a scenerio in which I want to pass current system date & time, But when I use DateTimeUtil::getSystemDateTime() it shows me wrong time as per my requirement. So after some research I found out that this issue is happening because of timezone. So when I provide time zone it returns right date and time as shown in below images.

Timezone enumeration can also be seen in MSDN documentation:
Timezone System Enumeration AX2012, AX7 & D365

No comments:

Post a Comment

Key Updates in Dynamics 365 F&O for Version 10.0.39

Here’s a concise summary of the  platform updates  in  Microsoft Dynamics 365 Finance & Operations version 10.0.39 (March 2024) : 1- Add...