QTP script to return day of the month-Day function example-vbscript Day function-qtp scripts with examples and outputs-QTP

Returns a whole number from 1 to 31


Dim a

a=Day(Date)

Msgbox a


Output-15



Dim a

a=Day("June 16, 2011")

Msgbox a


Output-16

No comments:

Related Posts Plugin for WordPress, Blogger...