CDateFromUnoTime Function/text/sbasic/shared/03030114.xhpCDateFromUnoTime functionCDateFromUnoTime FunctionConverts a UNO com.sun.star.util.Time struct to a Date value.Syntax:CDateFromUnoTime(aTime)Return value:DateParameters:aTime: Time to convertExample:Sub ExampleCDateFromUnoTime MsgBox(CDateFromUnoTime(aDatabaseRow.getTime(3))) MsgBox(CDateFromUnoTime(aTimeControl.Time))End Sub