Update cookies preferences
Promotic

SetTimeFormat - method of the PmgAlarmHistoryViewer object

Description:
Sets formatting rule for defined column with time.
Syntax:
Empty SetTimeFormat(String sWhat, String sFormat)
Parameters:
sWhat(String) Specifies the column with time.
on - Column timeon. See "Time format TimeOn" configurator.
off - Column timeoff. See "Time format TimeOff" configurator.
ack - Column timeack. See "Time format TimeAck" configurator.
sFormat(String) Formatting rule. See Pm.FormatDate.
Note:
This method is also functional in Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oViewer = pMe.Items("/Viewer");
oViewer.SetTimeFormat("on", "%d.%m.%Y %H:%M:%S.%T");

History:
Pm9.00.14: Created
PROMOTIC 9.0.29 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.