CDateFromUnoDate Function

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

๊ตฌ๋ฌธ:


CDateFromUnoDate(aDate)

๋ฐ˜ํ™˜ ๊ฐ’:

๋‚ ์งœ

๋งค๊ฐœ ๋ณ€์ˆ˜:

aDate: Date to convert

Error codes:

5 ์ž˜๋ชป๋œ ํ”„๋กœ์‹œ์ € ํ˜ธ์ถœ์ž…๋‹ˆ๋‹ค.

์˜ˆ:


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

Please support us!