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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

how to get date format using x++ from system date

(0) ShareShare
ReportReport
Posted on by 3,945

Hi all,

how to get system date format using x++, my requirement is to get system date format then corresponding logic should execute . 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Muthusamy Profile Picture
    4 on at

    Hi Gautam,

    Function - systemDateGet() will provide you the system date

    Thanks,

  • Martin Dráb Profile Picture
    239,118 Most Valuable Professional on at

    What's your definition of "system date format"? AX doesn't internally works with dates as formatted strings - it uses a special data type. Dates are formatted to strings based date format configured in Windows, therefore two users with different regional settings can see the same date in different formats.

  • Gautam Profile Picture
    3,945 on at

    Thanks Martin for getting back.

    The thing is that we have a customized report and thats working fine, but whenever we are changing the format of System date , then report data is not coming properly .

  • Martin Dráb Profile Picture
    239,118 Most Valuable Professional on at

    I'm sorry, you'll have to be more specific. There is nothing I can do for your based on this information. Start with explaining what you mean by "data is not coming properly". Then tell us about your customization.

  • Verified answer
    Faisal Fareed Profile Picture
    10,796 User Group Leader on at

    Please provide a screen shot of a report which is working fine and then for the report which is not showing any data.

    You probably need to check the table is there any record in it which will show to report. Are you using this date as a parameter on report?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Basit Profile Picture

Basit 1

#1
GL-01081504-0 Profile Picture

GL-01081504-0 1

#1
Roya Profile Picture

Roya 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans