CDateToUnoDateTime Function
Returns the time part of the date as a UNO com.sun.star.util.DateTime struct.
Cú pháp:
CDateToUnoDateTime(aDate)
GIá trị trả về:
com.sun.star.util.DateTime
Tham số :
aDate: Date value to convert
Thí dụ :
Sub ExampleCDateToUnoDateTime
aDatabaseRow.updateTimestamp(3, CDateToUnoDateTime(Now))
End Sub