VBA/Excel/Access/Word/Date Functions/Date

Материал из VB Эксперт
Версия от 15:48, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

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

   <source lang="vb">

Sub dateDemo1()

   Debug.Print Date

End Sub

</source>
   
  


VBA Date function and the Mod operator:

   <source lang="vb">

Sub dateDemo()

    MsgBox Date Mod 7

End Sub

</source>