iHUja‖

JgHk8‖CDateToUnoTime Function

6QMEs‖Returns the time part of the date as a UNO com.sun.star.util.Time struct.

x2CRq‖Syntax:


ABYMv‖CDateToUnoTime(aDate)

N7qeB‖Return value:

LcRZR‖com.sun.star.util.Time

ctAU3‖Parameters:

v4KWu‖ aDate: Date value to convert

SEjHR‖Error codes:

5 Invalid procedure call

svm7U‖Example:


Sub ExampleCDateToUnoTime
    aDatabaseRow.updateTime(3, CDateToUnoTime(Now))
    aTimeControl.Time = CDateToUnoTime(Now)
End Sub