Date関数

現在のシステム日付を戻します。

構文

Date

備考

次の例では、Date関数を使用して現在のシステム日付を戻します:

例1:

Dim MyDate
MyDate = Date   ' MyDate contains the current system date.