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:

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

དཔེ་གཞི་

Sub ExampleCDateToUnoTime

    aDatabaseRow.updateTime(3, CDateToUnoTime(Now))

    aTimeControl.Time = CDateToUnoTime(Now)

End Sub