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

Error codes:

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

例:


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

ご支援をお願いします!