Promotic
WikipediaLinkedInYoutubeTwitterFacebook

SetTimeFormat - method of the PmgEventViewer object

Description:
Sets the 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.
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.16 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice