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:

5 ནུས་མེད་ཀྱི་བརྒྱུད་རིམ་འཁོར་སྤྱོད་

དཔེ་གཞི་

Sub ExampleCDateToUnoDateTime

    aDatabaseRow.updateTimestamp(3, CDateToUnoDateTime(Now))

End Sub