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
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:
Post Comments (Atom)
No comments:
Post a Comment