Table of Contents

U2_TimeDate Function

Description

Retrieves the U2 server's time and date.

Syntax

now = U2_TimeDate()

Returns

The U2 server's time and date, in the DT format.

Remarks

OpenInsight's TimeDate function returns by default the time and date of the workstation executing OpenInsight. The U2_TimeDate function queries the U2 Server for the time and date.

See Also

TimeDate(), Iconv DateTime(DT) function, U2 Functions

Example

Declare Function U2_TimeDate()

now = U2_TimeDate()

formattedNow = Oconv(now,"DT")