CDateToUnoDateTime Function

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

Syntax:


CDateToUnoDateTime(aDate)

Návratová hodnota:

com.sun.star.util.DateTime

Paremetre:

aDate: Date value to convert

Error codes:

5 Neplatné volanie procedúry

PrĂ­klad:


Sub ExampleCDateToUnoDateTime
    aDatabaseRow.updateTimestamp(3, CDateToUnoDateTime(Now))
End Sub

Please support us!