CDateToUnoDate Function

Returns the date as a UNO com.sun.star.util.Date struct.

කාරක රීතිය:


CDateToUnoDate(aDate)

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

com.sun.star.util.Date

පරාමිතීන්:

aDate: Date to convert

Error codes:

5 Invalid procedure call

උදාහරණය:


Sub ExampleCDateToUnoDate
    aDatabaseRow.updateDate(3, CDateToUnoDate(Now))
    aDateControl.Date = CDateToUnoDate(Now)
End Sub

Please support us!