CDateToUnoTime Function

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

구문:


CDateToUnoTime(aDate)

반환 값:

com.sun.star.util.Time

매개 변수:

aDate: Date value to convert

Error codes:

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

예:


Sub ExampleCDateToUnoTime
    aDatabaseRow.updateTime(3, CDateToUnoTime(Now))
    aTimeControl.Time = CDateToUnoTime(Now)
End Sub

Please support us!