FZmDY‖

E4xcw‖CDateFromUnoDate Function

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

4Fnkp‖Syntax:


CDateFromUnoDate(aDate)

B3CDo‖Return value:

CNyaj‖Date

zDinD‖Parameters:

iAaDr‖ aDate: Date to convert

SEjHR‖Error codes:

5 Invalid procedure call

PJg82‖Example:


Sub ExampleCDateFromUnoDate
    MsgBox(CDateFromUnoDate(aDatabaseRow.getDate(3)))
    MsgBox(CDateFromUnoDate(aDateControl.Date))
End Sub