Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Year - function of language VBScript

Description:
Returns a integer representing the year.
Syntax:
Year(date As Date) As Integer
Calling:
n = Year(date)
Parameters:
date(Date) any expression that can represent a date
Example:
Dim tDate, nYear
tDate = #October 19, 2016#
nYear = Year(tDate) 'nYear contains 2016
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice