Enable JavaScript in the browser to display LibreOfficeDev Help pages.

Now Function

Liveras la aktualan sistemajn daton kaj tagotempon kiel Date valoro.

note

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


Syntax:


Now

Return value:

Dato

Example:


  Sub ExampleNow
      msgbox "Nun estas " & 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