LibreOffice 25.2 帮助
以「日期」值的形式返回当前的系统日期与时间。
The Now function calculates time up to milliseconds, but return time in seconds.
Now
日期
  Sub ExampleNow
      MsgBox "现在是 " & 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