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

Parameters:

aDate: Date value to convert

Error codes:

D'oh! You found a bug (text/sbasic/shared/00000003.xhp#err5 not found).

მაგალითი:


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