CDateFromUnoTime Function

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

๊ตฌ๋ฌธ:


CDateFromUnoTime(aTime)

๋ฐ˜ํ™˜ ๊ฐ’:

๋‚ ์งœ

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

aTime: Time to convert

Error codes:

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

์˜ˆ:


Sub ExampleCDateFromUnoTime
    MsgBox(CDateFromUnoTime(aDatabaseRow.getTime(3)))
    MsgBox(CDateFromUnoTime(aTimeControl.Time))
End Sub

Please support us!