CDateToUnoDate Function
Returns the date as a UNO com.sun.star.util.Date struct.
語法:
傳回值類型:
com.sun.star.util.Date
參數:
aDate: Date to convert
示例:
Sub ExampleCDateToUnoDate
aDatabaseRow.updateDate(3, CDateToUnoDate(Now))
aDateControl.Date = CDateToUnoDate(Now)
End Sub