SetDateTime Method

NI Vision Builder ActiveX

SetDateTime Method

Syntax

NIVBAITargetControl.SetDateTime DateTime, [TimeZone]

Purpose

Sets the date, time, and timezone on the target.

Parameters

DateTime as Date

New date and time for the target.

TimeZone as Variant

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