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

1 comment:

RAhul Chauhan said...

This post is great. Thank you for this post. I like this type of people who share knowledge with others.Dating software

Related Posts Plugin for WordPress, Blogger...