CDateFromUnoDateTime Function

Converts a UNO com.sun.star.util.DateTime struct to a Date value.

構文:


CDateFromUnoDateTime(aDateTime)

戻り値:

日付

パラメーター:

aDate: 変換する日付

Error codes:

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

例:


Sub ExampleCDateFromUnoDateTime
    MsgBox(CDateFromUnoDateTime(aDatabaseRow.getTimestamp(3)))
End Sub

ご支援をお願いします!