SetConvertToLocalTime

Description

Enables or disables the convert-to-local-time property of the ResultSet object. When this property is True, UTC database history dates are converted to client local time to display in query, report, and chart results. When this property is False, UTC database history dates are not converted to client local time for display. Instead, clients display dates in UTC as these are stored on the server.

Note: This method is available for Perl only. It is not available for VBScript.

Syntax

Perl


$resultset->SetConvertToLocalTime (value); 
Identifier
Description
resultset
A ResultSet object, representing the rows and columns of data resulting from a query.
value
A Boolean True enables conversion of UTC-stored database history dates to client local time for HCL Compass clients to display in query, report, and chart results.

A Boolean False disables conversion of UTC-stored database history dates to client local time for display. Instead, clients display dates in UTC as these are stored on the server.

Return value
None.