SetDateTimeUTC Method

NI Vision Builder ActiveX

SetDateTimeUTC Method

Syntax

NIVBAITarget.SetDateTimeUTC DateTime, [TimeZone]

Purpose

Sets the date, time, and timezone on the target in Coordinated Universal Time (UTC).

Parameters

DateTime as Long

New date and time for this target in Coordinated Universal Time (UTC). UTC is represented by the number of seconds that have elapsed since 12:00 AM on January 1, 1970.

TimeZone as Variant

Offset, in hours, from Coordinated Universal Time (UTC), which indicates the new timezone on the target.