6TWaf‖

DNRMR‖CDateToUnoDateTime Function

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

iJCik‖Syntax:


TMAGP‖CDateToUnoDateTime(aDate)

9vAhc‖Return value:

9TBL2‖com.sun.star.util.DateTime

o72BC‖Parameters:

S5HDG‖ aDate: Date value to convert

SEjHR‖Error codes:

5 Invalid procedure call

zxFxD‖Example:


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