---
id: post/yzhums-com/70117
type: post
title: "Dynamics 365 Business Central Blog Series: Date and time handling"
summary: This blog series covers date, time, and datetime handling in Business Central AL development, including functions for calculating special dates, type conversions, working with durations, timezone handling, and new methods in recent releases.
tier: community
language: en
tags:
  - date functions
  - time handling
  - datetime conversion
  - al development
  - timezone
  - duration
  - type conversion
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-26T06:41:06.578Z"
  flags: []
generated:
  at: "2026-10-26T05:51:10.938Z"
  pipeline: 0.2.0
  prompts:
    extract-post: 1
  input_hash: e8e3e4643cd1cb3ec63f0abaea1835eff3660b3c685a34280f11e92b6bf63166
evidence:
  - kind: blog
    url: https://yzhums.com/70117/
    title: "Dynamics 365 Business Central Blog Series: Date and time handling"
    date: "2026-01-26"
    commit: null
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
post_id: "70117"
source_id: yzhums-com
source_name: Dynamics 365 Lab - Yun Zhu
url: https://yzhums.com/70117/
published_at: "2026-01-26T00:29:38.000Z"
author: Yun Zhu
full_text: false
words: 1806
quotes: []
code_objects_mentioned:
  - other Date virtual table
systems:
  - development
  - finance
versions_mentioned:
  - BC23
  - BC24
  - BC25
  - BC26
  - BC27
preview:
  embeddable: true
  frame_url: null
  image: https://yzhums.com/wp-content/uploads/2020/09/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2020-09-16-100224.png
  image_alt: null
  image_w: null
  image_h: null
  site_name: Dynamics 365 Lab
  favicon: https://yzhums.com/wp-content/uploads/2020/08/cropped-logo-3-32x32.png
  probed_at: "2026-10-26T06:09:55.362Z"
---

# Dynamics 365 Business Central Blog Series: Date and time handling

[Read the post](https://yzhums.com/70117/) · Dynamics 365 Lab - Yun Zhu (Yun Zhu, MVP) · 2026-01-26 · 1806 words · tier community · reviewed (checked by Opus)

> This blog series covers date, time, and datetime handling in Business Central AL development, including functions for calculating special dates, type conversions, working with durations, timezone handling, and new methods in recent releases.

## Key points

- AL provides functions to retrieve special dates like today, yesterday, tomorrow, and first/last days of periods
- Date, time, and datetime types can be converted between each other and to text using various methods
- Duration data type can be manipulated and formatted for different output requirements
- Timezone conversions between UTC and local time require specific AL functions to handle correctly
- Recent releases (BC25, BC26, BC27) introduced new date/time methods and features like week numbers in date picker

## AL objects mentioned

As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.

- other "Date virtual table"

## Context

- Features: Date and time functions, DateTime conversion, Duration data type, Date-Time dialog, Date formula testing, Week numbers in date picker, ToText method, Timezone offset handling
- Versions: BC23, BC24, BC25, BC26, BC27

Source: Dynamics 365 Lab - Yun Zhu, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.
