CDateFromUnoDate Function

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

Syntax:


CDateFromUnoDate(aDate)

Návratová hodnota:

Dátum

Paremetre:

aDate: Date to convert

Error codes:

5 Neplatné volanie procedúry

PrĂ­klad:


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

Please support us!