Automation testing QTP with VB Script functions Interview questions


Total available count: 68
Subject - Software Testing
Subsubject - Automation testing QTP with VB Script functions

Month Function?

Month function returns a whole number between 1 and 12, inclusive, representing the month of the year.

Syntax: Month(date)
date: expression represent a date. If date contains Null, Null is returned.

Example: 

'Month 
Print  Month("11-01-2010")                                        
output:11
Print  Month("11/1/2010")                                                
output:11
Print  Month("November 01, 2010")                            
output:11

 




Next 5 interview question(s)

1
DayFunction?
2
DatePart Function?
3
DateDiffFunction?
4
DateAddFunction?
5
Time Function?