CDateToUnoDateTime Function

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

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


CDateToUnoDateTime(aDate)

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

com.sun.star.util.DateTime

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

aDate: Date value to convert

Error codes:

5 Invalid procedure call

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


Sub ExampleCDateToUnoDateTime
    aDatabaseRow.updateTimestamp(3, CDateToUnoDateTime(Now))
End Sub

Please support us!