CDateToUnoDateTime Function

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

Синтаксис

CDateToUnoDateTime(aDate)

Возвращаемое значение:

com.sun.star.util.DateTime

Параметры:

aDate: Date value to convert

Error codes:

5 Неправильный вызов процедуры

Пример:

Sub ExampleCDateToUnoDateTime

    aDatabaseRow.updateTimestamp(3, CDateToUnoDateTime(Now))

End Sub