CDateToUnoDateTime Function

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

Notkun:


CDateToUnoDateTime(aDate)

Skilagildi:

com.sun.star.util.DateTime

Viðföng:

aDate: Date value to convert

Error codes:

5 Ógilt kall á stefju

Dæmi:


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

Please support us!