Returns a whole number from 0 to 59
Dim a
a=Minute(Now)
Msgbox a
Output-5
Showing posts with label vbscript commands. Show all posts
Showing posts with label vbscript commands. Show all posts
QTP script to return minute of the hour-script in qtp to print minute of the hour-vbscript function examples-Minute function example(VBScript)
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
QTP Script to convert a string into lowercase-VBScript Functions-VBScript LCase Function-VBScript Commands-LCase vbscript function example-qtp scripts
Dim a
a=LCase("QTP")
msgbox a
Output-qtp
Dim a
a=LCase("SOFTWARE TESTING")
msgbox a
Output-software testing
Subscribe to:
Posts (Atom)