Returns a whole number representing the year
Dim a
a=Year(Now)
Msgbox a
Output-2011
Dim a
a=Year("June 16, 2020")
Msgbox a
Output-2020
Showing posts with label vbscript year function example. Show all posts
Showing posts with label vbscript year function example. Show all posts
Qtp script to return year from specified date-vbscript year function-script in qtp to display year from specified date-scripts in qtp-vbscript
Subscribe to:
Posts (Atom)