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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 1,965 Super User 2026 Season 1
YUN ZHU 1,125 Super User 2026 Season 1
Dhiren Nagar 961 Super User 2026 Season 1