CDateFromUnoTime Function

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

කාරක රීතිය:

CDateFromUnoTime(aTime)

ආපසු ලබාදෙන අගය:

දිනය

පරාමිතීන්:

aTime: Time to convert

Error codes:

5 Invalid procedure call

උදාහරණය:

Sub ExampleCDateFromUnoTime

    MsgBox(CDateFromUnoTime(aDatabaseRow.getTime(3)))

    MsgBox(CDateFromUnoTime(aTimeControl.Time))

End Sub