Breaking news from around the world
Get the Bing + MSN extension
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | View virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
Hello awesome community i'm new to AX and report development i'm still learning and I seek your help if you please :)
I'm developing an SSRS report using DP class, I have a "TransDate" field from LedgerJournalTrans Table but it shows on like this:
I have tried to change it in Visual Studio using this window:
But it did not have a dd/mm/yyyy option unfortunately.
I believe it should be done in DP class with code, if you show me the code or refer me to a reference, it would be appreciated
Thanks in advance!
You can use the function: Date2Str().
Is a global function and you can set the parameters to return the value the way you need:
static void Job2(Args _args)
date currentDate = today();
s = date2Str
DateSeparator::Hyphen, // separator1
DateSeparator::Hyphen, // separator2
info("Today is: " + s);
/** Example Infolog output
Message (12:36:21 pm)
Today is: 2009-01-13
You can do this in many ways, without any line of code.
with the current way, that you are trying, select the last choice called 'Custom' and then in the empty box add dd/MM/yyyy
that should work for you.
I can see two ways to achieve your goal:
1. You can use TextBox expression and use following command: =FORMAT(Fields!Dataset_Field_Name_Here.Value,"dd/MM/yyyy")
2. Use TextBox Custom format as presented on following screen:
Let me know if any of the above works for you.
Sohaib Cheema is right no need to write code in DP class. You can achieve this by Custom option in format put "dd/MM/yyyy"
Works like a charm! simple and straight forward thank you guys for your kind help and time!
What about if my date field is a string and i need to print in dd/MM/yyyy format in a report?
how to acheive this scenario?pls suggest
Business Applications communities