Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

TimeValue

  • Last UpdatedJul 18, 2023
  • 1 minute read

Calculates a time. The TimeValue function expects the argument value (Time) to be a string or any expression that can represent a time value.

Syntax

TimeValue(Time)

Time:

A string or expression that can represent a time value. This includes and combination of time literals, numbers that look like times, strings that look like times, and times from functions.

Return Value

Returns a variant (of date data type) corresponding to the parameter (Time).

DateValue

Example

Dim varMyTime
varMyTime = TimeValue("2:35:17 PM")
' stores time as 14:35:17

In This Topic
TitleResults for “How to create a CRG?”Also Available in