GetDateTime Method

NI Vision Builder ActiveX

GetDateTime Method

Syntax

NIVBAITargetControl.GetDateTime [TimeZone = 0]

Return Type

Date

Purpose

Returns the current date, time, and timezone on the target.

Return Value

Current date and time.

Parameters

TimeZone as Variant

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