CDateFromUnoDate Function

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

Syntax:

CDateFromUnoDate(aDate)

Return value:

چېسلا

پارامېتىر

aDate: Date to convert

Error codes:

D'oh! You found a bug (text/sbasic/shared/00000003.xhp#err5 not found).

مىسال:

Sub ExampleCDateFromUnoDate

    MsgBox(CDateFromUnoDate(aDatabaseRow.getDate(3)))

    MsgBox(CDateFromUnoDate(aDateControl.Date))

End Sub