CDateToUnoDateTime Function /text/sbasic/shared/03030115.xhp
CDateToUnoDateTime function

CDateToUnoDateTime Function

Returns the time part of the date as a UNO com.sun.star.util.DateTime struct.

Syntax:

CDateToUnoDateTime(aDate)

Return value:

com.sun.star.util.DateTime

Parameters:

aDate: Date value to convert

Example:

Sub ExampleCDateToUnoDateTime aDatabaseRow.updateTimestamp(3, CDateToUnoDateTime(Now)) End Sub