SWrmr‖

vkoBM‖CDateFromUnoTime Function

QfMkH‖Converts a UNO com.sun.star.util.Time struct to a Date value.

EDnPm‖Syntax:


EQoqi‖CDateFromUnoTime(aTime)

QreGF‖Return value:

4BCyg‖Date

RiT8L‖Parameters:

K6FAJ‖ aTime: Time to convert

SEjHR‖Error codes:

5 Invalid procedure call

WLDyi‖Example:


Sub ExampleCDateFromUnoTime
    MsgBox(CDateFromUnoTime(aDatabaseRow.getTime(3)))
    MsgBox(CDateFromUnoTime(aTimeControl.Time))
End Sub