LibreOffice SymbolLibreOffice Symbol

Lütfen bizi destekleyin!

Now Function

Mevcut tarih ve zamanı Tarih değeri olarak döndürür.

Not Simgesi

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


Sözdizimi:


Now

Return type:

Tarih

Hata kodları:

5 Geçersiz yordam çağrısı

Örnek:


  Sub ExampleNow
      msgbox "Şimdi " & 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