Top 5 This Week

Related Posts

Date Formats

Date Formula in Business Central

If you’re using NAV/ Dynamics 365 Business Central, you’ll hear about ‘Date Formulas.’ It’s a short mix of signs, letters, and numbers to figure out dates. People use it to find Due Dates or the next date for tasks like Job Queue and Recurring Journals. Mastering these date formulas can empower you to efficiently plan and manage your time-sensitive activities with precision.

These formulas can be up to 32 characters long, including signs, numbers, and letters. Here’s what each letter in the formulas means:

  • C: Current (end of)
  • D: Day
  • W: Week
  • WD: Week Day (not a workday). Week Day 1 is Monday.
  • M: Month
  • Q: Quarter
  • Y: Year

Let’s explore some examples of business central dateformula what you can do with it.

DateDate FormulaResultExplanation
5 Jan 2023 (Fri)CW8 Jan 2023End of the current week (Sunday)
5 Jan 2023 (Fri)WD19 Jan 2023The first Monday after the current date
5 Jan 2023 (Fri)WD67 Jan 2023The next Saturday after the current date
5 Jan 2023D712 Jan 2023The 7th day after the current date
5 Jan 20237D12 Jan 2023One week later from the current date
5 Jan 2023D2530 Jan 2023The 25th day after the current date
5 Jan 2023-D1026 Dec 2022The 10th day before the current date
5 Jan 2023-CM1 Jan 2023Beginning of the current month
5 Jan 2023CM31 Jan 2023End of the current month
5 Jan 20231M5 Feb 2023One month later from the current date
5 Jan 20231M+CM31 Jan 2023End of the next month
5 Jan 2023CM+D2525 Feb 2023The 25th day of the next month
5 Jan 2023CM+45D15 Mar 202345 days after the end of the current month
5 Jan 20231Q+1M+CM30 Apr 2023One quarter and one month later, end of month
5 Jan 20231Y-CY1 Jan 2024Beginning of the next year
5 Jan 2023CY+1D1 Jan 2024Beginning of the next year
30 Jan 20231M28 Feb 2023One month later (February 2023 only has 28 days)
Business Central / Dynamics NAV Date Formula Working Example

This is available for all versions of Navision / Dynamics NAV / Business Central including NAV 2013, NAV 2023 R2, NAV 2015, NAV 2016, , NAV 2017, NAV 2018 all Business Central versions including BC 14, 15, 16 , 17, 18, 19, 20, 21, 22 , 23 and 24 etc. Hope this answers most of the asked question for bc20 date code .

Hope you get an idea of how to use date formulas in CalcFormula Business Central.

Date Formats In Navision

Date can be entered into Microsoft Dynamics NAV (Navision) with the following code:

  1. w : workdate
  2. t : system date
  3. c: closing date
  4. # : number of days
  5. m : Monday
  6. tu : Tuesday
  7. we : Wednesday
  8. th: Thursday
  9. f : Friday
  10. sa: Saturday
  11. su : Sunday

FAQ : Date Formula in NAV / D 365 Business Central

How to display Date in dd/mm/yyyy ?

Solution for this question is shows in AL coding. Business Central Date Formula Coding Question answer

Jubel
Jubelhttps://www.navisionplanet.com
Jubel Thomas Joy, a 16+ year Microsoft Dynamics 365 Business Central/NAV/Navision expert, founded "Navision Planet" in 2009. Certified in Business Central , D365 - Commerce and many more. He blogs on the latest updates and various modules of Business Central & LS Central, showcasing expertise in SQL, Microsoft Power Platforms, and over 150 organizations of work experience.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Popular Articles