CDateToUnoDate Function/text/sbasic/shared/03030111.xhpCDateToUnoDate functionCDateToUnoDate FunctionReturns the date as a UNO com.sun.star.util.Date struct.Syntax:CDateToUnoDate(aDate)Return value:com.sun.star.util.DateParameters:aDate: Date to convertExample:Sub ExampleCDateToUnoDate aDatabaseRow.updateDate(3, CDateToUnoDate(Now)) aDateControl.Date = CDateToUnoDate(Now)End Sub