MS Access DateSerial() Function

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP







<!--
main_leaderboard, all: [728,90][970,90][320,50][468,60]
-->



MS Access DateSerial() Function


❮ MS Access Functions




Example


Return a date from it's parts:



SELECT DateSerial(2017, 4, 20);

Try it Yourself »


Definition and Usage


The DateSerial() function returns a date from the specified parts (year, month, and day values).



Syntax



DateSerial(year, month, day)


Parameter Values









Parameter Description
year Required. Specifies a year (4 digits)
month Required. Specifies a month (from 1 to 12)
day Required. Specifies a day (from 1 to 31)

Technical Details




Works in: From Access 2000

More Examples



Example


Return a date from it's parts:



SELECT DateSerial(2017-10, 4-1, 20-5);

Try it Yourself »


❮ MS Access Functions


Popular posts from this blog

Greenpeace

.name

Thomas Howard, 21st Earl of Arundel