Previous Topic: getGlobalSettings

Next Topic: getVersion

getTimeZones

Use the getTimeZones command to show time zones that are supported as a query parameter. You can use it to get a list of time zones so that the query data is returned using the proper time zone formatting.

Note: If you do not provide a valid time zone for getQueryViewer, getReportViewer, and runQuery the data is returned in the CA Enterprise Log Manager server time zone.

getTimeZones Example

https://ELMSERVER:5250/spin/calmapi/getObject.csp?type=getTimeZones

Returns the following XML:

<?xml version="1.0" encoding="UTF-8" ?>
<Result>
	<Value>true</Value>
	<Description>Get Object Successful. Type [getTimeZones]</Description>
	<tz>
		<TimeZone isDefault="false">Etc/GMT+12</TimeZone>
		<Offset>720.0</Offset>
	</tz>
	<tz>
		<TimeZone isDefault="false">Etc/GMT+11</TimeZone>
		<Offset>660.0</Offset>
	</tz>
	....