Contents
Index 🔎︎

# CDateToUnoDateTime Function

Returns the time part of the date as a UNO com.sun.star.util.DateTime struct.

## Syntax:

    CDateToUnoDateTime(aDate)

## Návratová hodnota:

com.sun.star.util.DateTime

## Paremetre:

aDate: Date value to convert

### Error codes:

5 Neplatné volanie procedúry

## Príklad:

    Sub ExampleCDateToUnoDateTime
        aDatabaseRow.updateTimestamp(3, CDateToUnoDateTime(Now))
    End Sub