Date Function

Description

Returns the current system date.

Syntax

Date

Remarks

To set the system date, use the Date statement.

See Also

CDate Function, Date Statement, Format Function, Now Function, Time Function, Time Statement.

Example

This example uses the Date function to return the current system date.


MyDate = Date    ' MyDate contains current system date.