Funzione Now

Restituisce la data e l'ora di sistema come valore Data.

note

The Now function calculates time up to milliseconds, but return time in seconds.


Sintassi:


Now

Valore restituito:

Data

Esempio:


  Sub ExampleNow
      MsgBox "Adesso รจ " & Now
  End Sub
  REM Work with milliseconds timings
  Sub ExampleNowDouble
      Dim myTime As Double
      myTime = now
      MsgBox "It is now " & format(myTime, "yyyy-mm-dd HH:MM:SS.000")
  End Sub