CDateToUnoTime Function
Returns the time part of the date as a UNO com.sun.star.util.Time struct.
āϏāĻŋāύāĻā§āϝāĻžāĻā§āϏ:
CDateToUnoTime(aDate)
āĻĒā§āϰāĻĻāĻžāύ āĻŽāĻžāύ:
com.sun.star.util.Time
āĻĒā§āϝāĻžāϰāĻžāĻŽāĻŋāĻāĻžāϰ:
aDate: Date value to convert
āĻāĻĻāĻžāĻšāϰāĻŖ:
Sub ExampleCDateToUnoTime
aDatabaseRow.updateTime(3, CDateToUnoTime(Now))
aTimeControl.Time = CDateToUnoTime(Now)
End Sub