CDateFromUnoDateTime Function
Converts a UNO com.sun.star.util.DateTime struct to a Date value.
語法:
CDateFromUnoDateTime(aDateTime)
傳回值類型:
日期
參數:
aDateTime: DateTime to convert
示例:
Sub ExampleCDateFromUnoDateTime
MsgBox(CDateFromUnoDateTime(aDatabaseRow.getTimestamp(3)))
End Sub