CDateFromUnoDate Function

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

αƒ‘αƒ˜αƒœαƒ’αƒαƒ₯αƒ‘αƒ˜


CDateFromUnoDate(aDate)

αƒ“αƒαƒ‘αƒ αƒ£αƒœαƒ”αƒ‘αƒ£αƒšαƒ˜ αƒ›αƒœαƒ˜αƒ¨αƒ•αƒœαƒ”αƒšαƒαƒ‘αƒ:

αƒ—αƒαƒ αƒ˜αƒ¦αƒ˜

Parameters:

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

Please support us!