VBA Date function and the Mod operator: : Date « Date Functions « VBA / Excel / Access / Word






VBA Date function and the Mod operator:

 
Sub dateDemo()
     MsgBox Date Mod 7
End Sub

 

Related examples in the same category

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