Now funtzioa

Sistemako uneko data eta ordua Date balio gisa itzultzen ditu.

note

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


Sintaxia:


Now

Itzulera-balioa:

Data

Adibidea:


  Sub ExampleNow
      msgbox "Unekoa: " & 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

Emaguzu laguntza!