CDateToUnoTime Function
/text/sbasic/shared/03030113.xhp
CDateToUnoTime function
CDateToUnoTime Function
Returns the time part of the date as a UNO com.sun.star.util.Time struct.
Syntax:
CDateToUnoTime(aDate)
Return value:
com.sun.star.util.Time
Parameters:
aDate: Date value to convert
Example:
Sub ExampleCDateToUnoTime
aDatabaseRow.updateTime(3, CDateToUnoTime(Now))
aTimeControl.Time = CDateToUnoTime(Now)
End Sub