Contents
Index 🔎︎

# CDateFromUnoDateTime Function

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

## Синтаксис

    CDateFromUnoDateTime(aDateTime)

## Return value:

Сана

## Parameters:

aDateTime: DateTime to convert

## Error codes:

5 Invalid procedure call

## Намуна

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