CDateFromUnoTime Function /text/sbasic/shared/03030114.xhp
CDateFromUnoTime function

CDateFromUnoTime Function

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

Syntax:

CDateFromUnoTime(aTime)

Return value:

Date

Parameters:

aTime: Time to convert

Example:

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