Contents

# CDateFromUnoDateTime Function

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

## الصياغة:

    CDateFromUnoDateTime(aDateTime)

## Return value:

التاريخ

## المعاملات:

aDateTime: DateTime to convert

### Error codes:

5 Invalid procedure call

## مثال:

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