CDateToUnoDateTime Function

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

Syntax:


CDateToUnoDateTime(aDate)

वापसी मूल्य:

com.sun.star.util.DateTime

पैरामीटर

aDate: Date value to convert

Error codes:

5 Invalid procedure call

उदाहरण:


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

Please support us!