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

AVEVA™ Plant SCADA

Day

  • Last UpdatedJul 18, 2023
  • 1 minute read

Calculates the day from the given date argument passed to the function using the Gregorian Calendar.

Syntax

Day(Date)

Date:

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

Return Value

Returns a variant date corresponding to the date expression that was passed in.

Date | Year| Month | WeekDay

Example

Dim varMyBDate, varMyDay
varMyBDate = #July 8, 1958#
varMyDay = Day(varMyBDate)
' stores 8 for day value.

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