CDateToUnoTime Function
Returns the time part of the date as a UNO com.sun.star.util.Time struct.
語法:
CDateToUnoTime(aDate)
傳回值類型:
com.sun.star.util.Time
參數:
aDate: Date value to convert
示例:
Sub ExampleCDateToUnoTime
aDatabaseRow.updateTime(3, CDateToUnoTime(Now))
aTimeControl.Time = CDateToUnoTime(Now)
End Sub