CDateToUnoTime Function

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

Sintaksis:

CDateToUnoTime(aDate)

Nilai hasil:

com.sun.star.util.Time

Parameter:

aDate: Date value to convert

Kode kesalahan:

5 Tidak sah dalam pemanggilan prosedur

Contoh:

Sub ExampleCDateToUnoTime

    aDatabaseRow.updateTime(3, CDateToUnoTime(Now))

    aTimeControl.Time = CDateToUnoTime(Now)

End Sub