SetToCurrent Method (PITime object)


See Also     Example     Applies To    

 

The SetToCurrent method sets the PITime object to the current time based on the local system's clock.

Syntax

object.SetToCurrent

The object placeholder is an object expression that evaluates to a PITime object.

Remarks

To get a PITime set to the current time in some other time zone, create a PITimeFormat, set it to the desired time zone, and then call SetToCurrent on that object.

Enabling Operational Intelligence