SQL Flow Field Guide

Date & time functions (overview)

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

none (documentation, rules or examples)

What changes

Input
none
Output or change
none

Syntax at a glance

n/a (reference page)

Work example

Build, compare, bucket, or display dates using an explicit time and calendar rule.

Use typed date values, half-open timestamp ranges, and an explicit UTC or local-time contract.

Check your work Datepart boundaries, session settings, and time-zone offsets can change a result.

Open Microsoft Learn for full syntax, permissions, and details for your version.