CDateToUnoDate Function
Returns the date as a UNO com.sun.star.util.Date struct.
āļāˇāļģāļ āļģāˇāļāˇāļē:
CDateToUnoDate(aDate)
āļāļ´āˇāˇ āļŊāļļāˇāļ¯āˇāļą āļ āļāļē:
com.sun.star.util.Date
āļ´āļģāˇāļ¸āˇāļāˇāļąāˇ:
aDate: Date to convert
āļāļ¯āˇāˇāļģāļĢāļē:
Sub ExampleCDateToUnoDate
aDatabaseRow.updateDate(3, CDateToUnoDate(Now))
aDateControl.Date = CDateToUnoDate(Now)
End Sub