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

Notifications

Announcements

No record found.

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
    237,990 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
    237,990 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans