LibreOffice 25.2 Help
以日期型數值的形式傳回目前的系統日期和時間。
The Now function calculates time up to milliseconds, but return time in seconds.
Now
日期
Sub ExampleNow
msgbox "It is now " & 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