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

Error codes:

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

དཔེར་བརྗོད:

Sub ExampleCDateToUnoTime

    aDatabaseRow.updateTime(3, CDateToUnoTime(Now))

    aTimeControl.Time = CDateToUnoTime(Now)

End Sub