Automation testing QTP with VB Script functions Interview questions


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

MonthName Function?

MonthName function returns a string indicating the specified month.

Syntax: MonthName(month[, abbreviate])

Arguments:
month: (Required) The numeric designation of the month. For example, January is 1, February is 2, and so on.
abbreviate: (Optional) Boolean value that indicates if the month name is to be abbreviated. If omitted, the default is False, which means that the month name is not abbreviated.  

Example:  

'MonthName
Print  MonthName(11,true)                                                  
output:Nov
Print  MonthName(12,false)                                                
output:December
Print  MonthName(9)                                                                
output:September


 




Next 5 interview question(s)

1
WeekdayFunction_Weekday?
2
WeekdayNameFunction?
3
YearFunction?
4
HourFunction?
5
Minute Function?

Comments