Using the Process Analyst > Process Analyst for Developers > Automation Model > IPen.LocalTime [Property][Get/Set]

IPen.LocalTime [Property][Get/Set]

Get or Set whether the axis will display time in the computers current local format or in UTC (Universal Time Coordinate).

Defined As

Execution Result

If the property get/set succeeds the return value will be Success. If the return variable is bad, the return value will be InvalidArgument. If the pen is deleted, the return value will be GeneralFailure.

Limits

Calling Syntax

Assumes you have passed a valid pen object into the function.

[VBA]

Sub Example(pen As Object)
Dim localTime As Boolean
`Getting Property value
localTime = pen.LocalTime
`Display time in UTC
pen.LocalTime = False
End Sub

[Cicode]

FUNCTION Example(OBJECT hPen)
INT bLocalTime;
// Getting current property value
bLocalTime = _ObjectGetProperty(hPen, "LocalTime");
// Display time in UTC
_ObjectSetProperty(hPen, "LocalTime", 0);
END