Dim a
a=WeekDayName(1)
Msgbox a
Output-Sunday
Dim a
a=WeekDayName(5)
Msgbox a
Output-Thursday
Showing posts with label scripts in qtp. Show all posts
Showing posts with label scripts in qtp. Show all posts
qtp script to return specific weekday name-VBScript Weekdayname function-script in qtp to display specific weekday name-QTP Scripts-VBScript examples
QTP Script to return day of the week-weekday vbscript function-vbscript weekday function with example-vbscript functions-scripts in qtp
Returns a whole number from 1 to 7
Dim a
a=Weekday(Now)
Msgbox a
Output-4
Dim a
a=Weekday("June 5, 2011")
Msgbox a
Output-1
Subscribe to:
Posts (Atom)