Technology · Reference dataset

Microsoft Access Date Functions

Microsoft Access date and time functions with a description, the documented syntax, the return type, a documented example with its result, and a link to the Microsoft documentation.

Download options
Look inside

Every record

All 20 records · Last changed November 15, 2026 · Select a column heading to sort. Select a row to read the whole record.

Preview of Microsoft Access Date Functions
Function Description Syntax Return type Example Result Doc url
Date Returns the current system date Date Variant (Date) https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/date-function
DateAdd Adds a time/date interval to a date and then returns the date DateAdd(interval, number, date) Variant (Date) DateAdd("m", 1, "31-Jan-95") 28-Feb-95 https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/dateadd-function
DateDiff Returns the difference between two dates DateDiff(interval, date1, date2, [ firstdayofweek, [ firstweekofyear ]]) Variant (Long) https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/datediff-function
DatePart Returns a specified part of a date (as an integer) DatePart(interval, date, [ firstdayofweek, [ firstweekofyear ]]) https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/datepart-function
DateSerial Returns a date from the specified parts (year, month, and day values) DateSerial(year, month, day) Variant (Date) https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/dateserial-function
DateValue Returns a date based on a string DateValue(date) Variant (Date) https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/datevalue-function
Day Returns the day of the month for a given date Day(date) Variant (Integer) MyDate = #February 12, 1969#: Day(MyDate) 12 https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/day-function
Format Formats a date value with the specified format Format(Expression, [ Format ], [ FirstDayOfWeek ], [ FirstWeekOfYear ]) Variant (String) MyTime = #17:04:23#: Format(MyTime, "h:m:s") "17:4:23" https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/format-function-visual-basic-for-applications
Hour Returns the hour part of a time/datetime Hour(time) Variant (Integer) MyTime = #4:35:17 PM#: Hour(MyTime) 16 https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/hour-function
Minute Returns the minute part of a time/datetime Minute(time) Variant (Integer) MyTime = #4:35:17 PM#: Minute(MyTime) 35 https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/minute-function
Month Returns the month part of a given date Month(date) Variant (Integer) MyDate = #February 12, 1969#: Month(MyDate) 2 https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/month-function
MonthName Returns the name of the month based on a number MonthName(month, [ abbreviate ]) String https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/monthname-function
Now Returns the current date and time based on the computer's system date and time Now Variant (Date) https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/now-function
Second Returns the seconds part of a time/datetime Second(time) Variant (Integer) MyTime = #4:35:17 PM#: Second(MyTime) 17 https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/second-function
Time Returns the current system time Time Variant (Date) https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/time-function
TimeSerial Returns a time from the specified parts (hour, minute, and second value) TimeSerial(hour, minute, second) Variant (Date) https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/timeserial-function
TimeValue Returns a time based on a string TimeValue(time) Variant (Date) https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/timevalue-function
Weekday Returns the weekday number for a given date Weekday(date, [ firstdayofweek ]) Variant (Integer) MyDate = #February 12, 1969#: Weekday(MyDate) 4 https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/weekday-function
WeekdayName Returns the weekday name based on a number WeekdayName(weekday, abbreviate, firstdayofweek) String https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/weekdayname-function
Year Returns the year part of a given date Year(date) Variant (Integer) MyDate = #February 12, 1969#: Year(MyDate) 1969 https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/year-function

Open this data in a free tool: CSV to JSON · JSON formatter · SQL INSERT generator · CSV to XML

CSV / JSON / XML

Put this data to work.

All 20 records are available without a pass, within the free request limits.

  • CSV for spreadsheets and lookup tables
  • JSON for apps and data analysis
  • XML for imports and integrations
Choose your file

Lost your key?

Commercial use is allowed, free or paid.

Downloaded a CSV? Convert CSV to JSON, generate SQL inserts, remove duplicate lines, or sort a list with the free tools.

Scope and sources

Last checked against sources: October 15, 2026.

Last changed: November 15, 2026. This is when we last changed the data or its description. It doesn’t mean the data runs up to that date.

Microsoft Access Date Functions has 20 records and 7 fields: Function, Description, Syntax, Return type, Example, Result, Doc url.

A complete download includes all 20 records currently held in this dataset. Check the description and sources to decide whether its scope fits your project.

Use this dataset through the API
GET https://mysafeinfo.com/api/data/msaccessdatefunctions

Choose a format, sort, or request fewer rows. A pass key gives access to the complete dataset. See the examples and parameters.

More in Technology

Git Commands HTML Colors Microsoft Access Data Types MySQL Data Types Operating Systems Programming Languages

Download a category with your pass