SQL Flow Field Guide

ISDATE

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

date/time arithmetic, parts, construction or truncation

What changes

Input
date/time arguments
Output or change
date/time or integer value
Return type
int

Syntax at a glance

ISDATE ( expression )

Work example

Check whether text can be interpreted as a supported date-time under session rules.

Test month end, leap day, offset, and the session language that will run the query.

Check your work Use TRY_CONVERT with an explicit style for imports because language and format can affect ISDATE.

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