CDateToUnoDateTime Function

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

Sintakso:

CDateToUnoDateTime(aDate)

Liverota valoro:

com.sun.star.util.DateTime

Parametroj:

aDate: Date value to convert

Error codes:

5 Nevalida procedurvoko

Ekzemplo:

Sub ExampleCDateToUnoDateTime

    aDatabaseRow.updateTimestamp(3, CDateToUnoDateTime(Now))

End Sub