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

AVEVA™ Plant SCADA

Second

  • Last UpdatedJul 18, 2023
  • 1 minute read

Calculates the second value from the given time argument passed to the function.

Syntax

Second(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 an integer that is the second portion of the parameter (Time).

Hour | Minute

Example

Dim varMySec, varMyTime
varMyTime = "08:04:23 PM"
varMySec = Second(varMyTime)
' stores seconds value.

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