Dynamics 365 Business Central Blog Series: Date and time handling

Dynamics 365 Business Central

Articles in this series:

  1. How to use Date and Time Functions (Get Today, Yesterday, Tomorrow, First and Last day of the month…)
  2. Date, Time, DateTime Conversions (Date Type -> DateTime Type, DateTime Type -> Date Type, DateTime Type -> Time Type)
  3. Working with Duration Data Type
  4. Date-Time Dialog
  5. Using the Date Method to retrieve only the Day, Month, and Year Data in Queries [Group by Year-month]
  6. How to get Start Date and End Date (Period) of the week/month/quarter/year (Includes last and next) from a given date
  7. How to easily get Hour, Minute, or Second (HMS) from Time (Time Data Type)
  8. How to quickly get the day of the week from a date (Date virtual table)
  9. How to get Start Date and End Date of the month from a given date
  10. How to get the Month Name/Text from a date (Two ways)
  11. How to add or subtract hours from a DateTime field
  12. About complex Due Date Calculations
  13. A simple Date Formula testing tool
  14. Week Numbers in date picker (Show or hide week numbers in calendar)
  15. How to quickly get Coordinated Universal Time (UTC Time)
  16. How to get timezone offset in AL
  17. How to check if the time zone supports daylight saving time (DST) via AL
  18. How to easily convert DateTime between UTC and local time (UTC Time Zone Converter)
  19. New Date/Time/DateTime methods
  20. Select the only Year (Month or Day) when entering dates(Only year drop)
  21. Convert simple type values to text using new ToText method (without using System.Format Method)
  22. Extending Default Posting Date (Today, Beginning of the month, End of the month)
  23. How to change Due Date of posted documents
  24. How to quickly check whether the posting date is valid in AL (Within the allowed posting date range)
  25. How to set default work date? – Customization
  26. Sync document and posting dates for sales and purchases (New ‘Link Doc. Date to Posting Date’ setting)
  27. How to get your last login info (Penultimate login DateTime)
  28. Date methods behavior on blank Date and DataTime fields when retrieving date data in queries

How to use Date and Time Functions (Get Today, Yesterday, Tomorrow, First and Last day of the month…)

How to use Date and Time Functions (Get Today, Yesterday, Tomorrow, First and Last day of the month…)

Date, Time, DateTime Conversions (Date Type -> DateTime Type, DateTime Type -> Date Type, DateTime Type -> Time Type)

Date, Time, DateTime Conversions (Date Type -> DateTime Type, DateTime Type -> Date Type, DateTime Type -> Time Type)

Working with Duration Data Type

Working with Duration Data Type

Date-Time Dialog

Date-Time Dialog

Using the Date Method to retrieve only the Day, Month, and Year Data in Queries [Group by Year-month]

Using the Date Method to retrieve only the Day, Month, and Year Data in Queries [Group by Year-month]

How to get Start Date and End Date (Period) of the week/month/quarter/year (Includes last and next) from a given date

How to get Start Date and End Date (Period) of the week/month/quarter/year (Includes last and next) from a given date

How to easily get Hour, Minute, or Second (HMS) from Time (Time Data Type)

How to easily get Hour, Minute, or Second (HMS) from Time (Time Data Type)

How to quickly get the day of the week from a date (Date virtual table)

How to quickly get the day of the week from a date (Date virtual table)

How to get Start Date and End Date of the month from a given date

How to get Start Date and End Date of the month from a given date

How to get the Month Name/Text from a date (Two ways)

How to get the Month Name/Text from a date (Two ways)

How to add or subtract hours from a DateTime field

How to add or subtract hours from a DateTime field

About complex Due Date Calculations

About complex Due Date Calculations

A simple Date Formula testing tool

A simple Date Formula testing tool

Week Numbers in date picker (Show or hide week numbers in calendar)

Week Numbers in date picker (Show or hide week numbers in calendar)

How to quickly get Coordinated Universal Time (UTC Time)

How to quickly get Coordinated Universal Time (UTC Time)

How to get timezone offset in AL

How to get timezone offset in AL

How to check if the time zone supports daylight saving time (DST) via AL

How to check if the time zone supports daylight saving time (DST) via AL

How to easily convert DateTime between UTC and local time (UTC Time Zone Converter)

How to easily convert DateTime between UTC and local time (UTC Time Zone Converter)

New Date/Time/DateTime methods

New Date/Time/DateTime methods

Select the only Year (Month or Day) when entering dates(Only year drop)

Select the only Year (Month or Day) when entering dates(Only year drop)

Convert simple type values to text using new ToText method (without using System.Format Method)

Convert simple type values to text using new ToText method (without using System.Format Method)

Extending Default Posting Date (Today, Beginning of the month, End of the month)

Extending Default Posting Date (Today, Beginning of the month, End of the month)

How to change Due Date of posted documents

How to change Due Date of posted documents

How to quickly check whether the posting date is valid in AL (Within the allowed posting date range)

How to quickly check whether the posting date is valid in AL (Within the allowed posting date range)

How to set default work date? – Customization

How to set default work date? – Customization

Sync document and posting dates for sales and purchases (New ‘Link Doc. Date to Posting Date’ setting)

Sync document and posting dates for sales and purchases (New ‘Link Doc. Date to Posting Date’ setting)

How to get your last login info (Penultimate login DateTime)

How to get your last login info (Penultimate login DateTime)

Date methods behavior on blank Date and DataTime fields when retrieving date data in queries

Date methods behavior on blank Date and DataTime fields when retrieving date data in queries

コメント