CDateToUnoTime Function

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

SĂĽntaks:


CDateToUnoTime(aDate)

Tagastusväärtus:

com.sun.star.util.Time

Parameetrid:

aDate: Date value to convert

Veakoodid:

5 Vigane protseduuri väljakutse

Näide:


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

Palun toeta meid!