tech on the net
Home About Us Feedback Site Map

Microsoft

Access Excel Word

Database

SQL Oracle / PLSQL SQL Server MySQL MariaDB PostgreSQL

Web Development

HTML CSS Color Picker

Language

C Language

More

ASCII Table Linux UNIX Java Clipart Joke of the Moment

Other Sites

CheckYourMath BigActivities DigMinecraft
Share this page:

MS Access: Date Function

Learn how to use the Access Date function with syntax and examples.

Description

The Microsoft Access Date function returns the current system date.

Syntax

The syntax for the Microsoft Access Date function is:

Date ()

Parameters or Arguments

There are no parameters or arguments for the Date function.

Applies To

The Date function can be used in the following versions of Microsoft Access:

Prerequisites

Example

Date() would return a value such as '22/11/2003'

Example (in VBA Code)

The Date function can be used in VBA code in Microsoft Access. For example:

Dim LDate As String

LDate = Date

In this example, the variable called LDate would now contain the current system date.

Example (in SQL/Queries)

You can also use the Date function in a query in Microsoft Access.

Microsoft Access