Year$ Date/Time function The Year$ function returns the current year as a string. Syntax ye$=Year$() Return value ye$, string, current 4-character year. Example yr$=Year$() ' for instance, yr$ contains "2007"
Year$ Date/Time function The Year$ function returns the current year as a string.
Date/Time function
The Year$ function returns the current year as a string.
ye$=Year$()
ye$, string, current 4-character year.
yr$=Year$() ' for instance, yr$ contains "2007"