web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

SQL server is 5 hour ahead of AOS server

(0) ShareShare
ReportReport
Posted on by 2,488

Whenever a record is created in AX, the createddatetime field in AX is showing 5 hours less than SQL createddatetime field for the same Table and both are in the same timezone.

Thanks in advance,

Raziq

*This post is locked for comments

I have the same question (0)
  • nmaenpaa Profile Picture
    101,172 Moderator on at

    The actual value in the database is always stored in UTC time. But what you see in AX forms and table browser is adjusted to your user's time zone. Not the AOS server timezone. So the same database value is shown differently to users across different timezones.

    Check "Preferred time zone" setting in user options -> General -> Miscellaneous. And also the time zone of the workstation of the user (where AX client is opened).

  • Mohammad Raziq Ali Profile Picture
    2,488 on at

    I checked it is in PST.

  • nmaenpaa Profile Picture
    101,172 Moderator on at

    What is in PST? Do you still have some open questions or problems?

  • Satish Panwar Profile Picture
    14,673 Moderator on at

    Yes, they can both be is PST but database doesn't store PST timezone. Database will store utc time, when you see that time in form, it adjust the time based on your timezone (PST) and that's what you see on screen.

    Google what is utc time and difference between PST timezone and that will help.

    Given AX works across the world, utc is the basis of storing date/times, you can even see different dates but all good when displayed in AX.

  • Suggested answer
    Mohammad Raziq Ali Profile Picture
    2,488 on at

    This is what I was looking for

    community.dynamics.com/.../72798

  • Satish Panwar Profile Picture
    14,673 Moderator on at

    Solution should be multiple AOS rather than customization in this area.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 10

#2
Harisgillani Profile Picture

Harisgillani 4

#2
dserp Profile Picture

dserp 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans