Date returns a Variant/Date containing the current date according to your computer : Date « Date Functions « VBA / Excel / Access / Word






Date returns a Variant/Date containing the current date according to your computer

 
Sub dateDemo1()
    Debug.Print Date
End Sub

 

Related examples in the same category

1.VBA Date function and the Mod operator: