CDateToUnoTime Function

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

caasimaa:


CDateToUnoTime(aDate)

Gatii deebii:

com.sun.star.util.Time

Ulaagaalee:

aDate: Date value to convert

Error codes:

5 Ejjatoo fashalaan waamu

Fakkeenya:


Sub ExampleCDateToUnoTime
    aDatabaseRow.updateTime(3, CDateToUnoTime(Now))
    aTimeControl.Time = CDateToUnoTime(Now)
End Sub

Please support us!