Enhavo

# CDateToUnoDate Function

Returns the date as a UNO com.sun.star.util.Date struct.

## Sintakso:

    CDateToUnoDate(aDate)

## Liverota valoro:

com.sun.star.util.Date

## Parametroj:

aDate: Date to convert

### Error codes:

5 Nevalida procedurvoko

## Ekzemplo:

    Sub ExampleCDateToUnoDate
        aDatabaseRow.updateDate(3, CDateToUnoDate(Now))
        aDateControl.Date = CDateToUnoDate(Now)
    End Sub