Automation testing QTP with VB Script functions Interview questions


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

HourFunction?

Hour function returns a whole number between 0 and 23, inclusive, representing the hour of the day. 

Syntax: Hour(time)

Arguments:
time: Is any expression that can represent a time. If time contains Null, Null is returned.

Example: 

'Hour 
Print  Hour(Now)                                 
output:Displays the current system hour.

 




Next 5 interview question(s)

1
Minute Function?
2
SecondFunction?
3
NowFunction?
4
TimeSerial Function?
5
TimeValueFunction?

Comments