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: 変換する日付

Error codes:

5 無効なプロシージャー呼び出しです

例:

Sub ExampleCDateToUnoTime

    aDatabaseRow.updateTime(3, CDateToUnoTime(Now))

    aTimeControl.Time = CDateToUnoTime(Now)

End Sub