CDateToUnoDate Function

Returns the date as a UNO com.sun.star.util.Date struct.

구문:


CDateToUnoDate(aDate)

반환 값:

com.sun.star.util.Date

매개 변수:

aDate: Date to convert

Error codes:

5 잘못된 프로시저 호출입니다.

예:


Sub ExampleCDateToUnoDate
    aDatabaseRow.updateDate(3, CDateToUnoDate(Now))
    aDateControl.Date = CDateToUnoDate(Now)
End Sub

Please support us!