Module
Contents
Index 🔎︎

# CDateFromUnoDate Function

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

## Синтаксис

    CDateFromUnoDate(aDate)

## Return value:

Сана

## Parameters:

aDate: Date to convert

## Error codes:

5 Invalid procedure call

## Намуна

    Sub ExampleCDateFromUnoDate

        MsgBox(CDateFromUnoDate(aDatabaseRow.getDate(3)))

        MsgBox(CDateFromUnoDate(aDateControl.Date))

    End Sub