CDateFromUnoDateTime Function /text/sbasic/shared/03030116.xhp
CDateFromUnoDateTime function

CDateFromUnoDateTime Function

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

Syntax:

CDateFromUnoDateTime(aDateTime)

Return value:

Date

Parameters:

aDateTime: DateTime to convert

Example:

Sub ExampleCDateFromUnoDateTime MsgBox(CDateFromUnoDateTime(aDatabaseRow.getTimestamp(3))) End Sub