CDateFromUnoDate Function

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

āĻ¸āĻŋāĻ¨āĻŸā§āĻ¯āĻžāĻ•ā§āĻ¸:


CDateFromUnoDate(aDate)

āĻĒā§āĻ°āĻĻāĻžāĻ¨ āĻŽāĻžāĻ¨:

āĻ¤āĻžāĻ°āĻŋāĻ–

āĻĒā§āĻ¯āĻžāĻ°āĻžāĻŽāĻŋāĻŸāĻžāĻ°:

aDate: Date to convert

Error codes:

5 Invalid procedure call

āĻ‰āĻĻāĻžāĻšāĻ°āĻŖ:


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

Please support us!