Enhavo

# CDateToUnoTime Function

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

## Sintakso:

    CDateToUnoTime(aDate)

## Liverota valoro:

com.sun.star.util.Time

## Parametroj:

aDate: Date value to convert

### Error codes:

5 Nevalida procedurvoko

## Ekzemplo:

    Sub ExampleCDateToUnoTime
        aDatabaseRow.updateTime(3, CDateToUnoTime(Now))
        aTimeControl.Time = CDateToUnoTime(Now)
    End Sub

Bonvolu subteni nin!