Date Function
Returns the current system date.
Syntax
Date
Remarks
The following example uses the Date function to return the current system date:
Dim MyDate
MyDate = Date ' MyDate contains the current system date.
Ta przeglądarka nie jest już obsługiwana.
Przejdź na przeglądarkę Microsoft Edge, aby korzystać z najnowszych funkcji, aktualizacji zabezpieczeń i pomocy technicznej.
Returns the current system date.
Date
The following example uses the Date function to return the current system date:
Dim MyDate
MyDate = Date ' MyDate contains the current system date.