CDateToUnoDate Function

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

構文:


CDateToUnoDate(aDate)

戻り値:

com.sun.star.util.Date

パラメーター:

aDate: 変換する日付

Error codes:

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

例:


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

ご支援をお願いします!