Notifications
Announcements
No record found.
DD/MM/YYYY
11/06/2025
FORMAT("Document Date", 0, '<Day,2>/<Month,2>/<Year,4>')
dd/mm/yyyy
Valentin Castravet Work: Zander ERP Services Blog: Dynamics 365 Business Central Insights LinkedIn: www.linkedin.com/in/valentin-c-0500a247/
Hi,
BC’s default date formatting during CSV export often follows the system’s regional settings, which can lead to inconsistent formats like 11/6/2025 instead of the expected 11/06/2025. To control this, you’ll need to explicitly format the date field during export.
11/6/2025
Here are your options:
FORMAT
MyFormattedDate := FORMAT("Document Date", 0, '<Day,2>/<Month,2>/<Year,4>'); FileWriter.Write(MyFormattedDate);
FORMAT(Date)
Data Exchange Definitions
Electronic Reporting
Helpful Reference Export data to CSV using XMLport – Dynamics 365 Lab Community thread: Date formatting in CSV export If you find this helpful, feel free to mark this as the suggested or verified answer. Cheers Jeffrey
Format(TempJournal1."Document Date", 0, '<Month,2>/<Day,2>/<Year4>')
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 3,064
Jainam M. Kothari 1,568 Super User 2025 Season 2
YUN ZHU 1,063 Super User 2025 Season 2