CDateToUnoDateTime Function

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

Sintaxe:

CDateToUnoDateTime(aDate)

Valor de retorno:

com.sun.star.util.DateTime

Parámetros:

aDate: Date value to convert

Códigos de erro

5 Chamada de procedemento incorrecta

Exemplo:

Sub ExampleCDateToUnoDateTime

    aDatabaseRow.updateTimestamp(3, CDateToUnoDateTime(Now))

End Sub