Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Year - function of language VBScript

Description:
Year (integer).
Syntax:
Year(date As Date) As Integer
Calling:
n = Year(date)
Parameters:
date(Date) Date and time
Example:
VBScriptSelect and copy to clipboard

Dim tDate, nYear
tDate = #October 19, 2017#
nYear = Year(tDate)  'nYear contains 2017
PROMOTIC 8.3.26 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice