CDateFromUnoTime Function

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

Syntax:


CDateFromUnoTime(aTime)

Return value:

چېسلا

پارامېتىر

aTime: Time to convert

Error codes:

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

مىسال:


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

Please support us!