CDateFromUnoDateTime Function

Converts a UNO com.sun.star.util.DateTime struct to a Date value.

語法


CDateFromUnoDateTime(aDateTime)

傳回值類型

日期

參數:

aDateTime: DateTime to convert

錯誤代碼:

5 無效的程序呼叫

示例:


Sub ExampleCDateFromUnoDateTime
    MsgBox(CDateFromUnoDateTime(aDatabaseRow.getTimestamp(3)))
End Sub

Please support us!