CDateToUnoDateTime Function

Returns the time part of the date as a UNO com.sun.star.util.DateTime struct.

ཚིག་སྦྱོར:

CDateToUnoDateTime(aDate)

གནས་གོང་སླར་ལོག:

com.sun.star.util.DateTime

ཚད་བཟུང་ཚུ་:

aDate: Date value to convert

Error codes:

༥ ནུས་མེད་བྱ་སྒོའི་ལམ་ལུགས་བོད་བརྡ་

དཔེར་བརྗོད:

Sub ExampleCDateToUnoDateTime

    aDatabaseRow.updateTimestamp(3, CDateToUnoDateTime(Now))

End Sub