CDateToUnoTime Function

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

தொடரமைப்பு:

CDateToUnoTime(aDate)

Return value:

com.sun.star.util.Time

அளவுருக்கள்:

aDate: Date value to convert

பிழையான குறியீடுகள்:

5 செல்லாத செயல்முறை அழைப்பு

எடுத்துக்காட்டு:

Sub ExampleCDateToUnoTime

    aDatabaseRow.updateTime(3, CDateToUnoTime(Now))

    aTimeControl.Time = CDateToUnoTime(Now)

End Sub