CDateToUnoDate Function

Returns the date as a UNO com.sun.star.util.Date struct.

caasimaa:


CDateToUnoDate(aDate)

Gatii deebii:

com.sun.star.util.Date

Ulaagaalee:

aDate: Date to convert

Error codes:

5 Ejjatoo fashalaan waamu

Fakkeenya:


Sub ExampleCDateToUnoDate
    aDatabaseRow.updateDate(3, CDateToUnoDate(Now))
    aDateControl.Date = CDateToUnoDate(Now)
End Sub

Please support us!