Access DateSerial Function

Last updated: August 29, 2026.

The DateSerial function constructs a Date value from numeric year, month, and day parts.

Syntax

DateSerial(year, month, day)
ArgumentDescription
yearRequired year number
monthRequired month number
values outside 1–12 roll into adjacent yearsundefined
dayRequired day number
values outside the current month roll forward or backwardundefined

Examples

DateSerial(2026, 8, 26)       ' August 26, 2026
DateSerial(2026, 9, 0)        ' Last day of August
RenewalDate: DateSerial(Year([StartDate]) + 1, Month([StartDate]), Day([StartDate]))

Use four-digit years. DateSerial intentionally normalizes out-of-range parts, which is useful for date arithmetic but can hide invalid input if values are not validated.

See Microsoft’s Access function reference for related expression functions.

Use DateSerial in complete queries

These examples apply DateSerial to common filtering, grouping, age, and crosstab tasks.

admin

admin

3 thoughts on “Access DateSerial Function

Leave a Reply

Your email address will not be published.