CDateToUnoDate Function

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

Sintaksis:

CDateToUnoDate(aDate)

Nilai hasil:

com.sun.star.util.Date

Parameter:

aDate: Date to convert

Kode kesalahan:

5 Tidak sah dalam pemanggilan prosedur

Contoh:

Sub ExampleCDateToUnoDate

    aDatabaseRow.updateDate(3, CDateToUnoDate(Now))

    aDateControl.Date = CDateToUnoDate(Now)

End Sub