CDateToUnoDateTime Function

Returns the time part of the date as a UNO com.sun.star.util.DateTime struct.

๊ตฌ๋ฌธ:


CDateToUnoDateTime(aDate)

๋ฐ˜ํ™˜ ๊ฐ’:

com.sun.star.util.DateTime

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

aDate: Date value to convert

Error codes:

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

์˜ˆ:


Sub ExampleCDateToUnoDateTime
    aDatabaseRow.updateTimestamp(3, CDateToUnoDateTime(Now))
End Sub

Please support us!