CDateFromUnoTime Function

Converts a UNO com.sun.star.util.Time struct to a Date value.

āļšāˇāļģāļš āļģāˇ“āļ­āˇ’āļē:


CDateFromUnoTime(aTime)

āļ†āļ´āˇƒāˇ” āļŊāļļāˇāļ¯āˇ™āļą āļ…āļœāļē:

āļ¯āˇ’āļąāļē

āļ´āļģāˇāļ¸āˇ’āļ­āˇ“āļąāˇŠ:

aTime: Time to convert

Error codes:

5 Invalid procedure call

āļ‹āļ¯āˇāˇ„āļģāļĢāļē:


Sub ExampleCDateFromUnoTime
    MsgBox(CDateFromUnoTime(aDatabaseRow.getTime(3)))
    MsgBox(CDateFromUnoTime(aTimeControl.Time))
End Sub

Please support us!