In QTP we have one function called Minute that can be used to find out the Minute part from given timestamp.
Example -
print minute("09:33:44")
In above example script will print 33.
To get the current minutes from the system, You can use below code.
print minute(now)
In QTP we have one function called Hour that can be used to find out the Hour part from given timestamp.
Example -
print Hour("09:33:44")
In above example script will print 9.
To get the current Hour from the system, You can use below code.
print Hour(now)
Please give your inputs, suggestions, feedback to Us about above QTP topic. We value your thoughts.
Example -
print minute("09:33:44")
In above example script will print 33.
To get the current minutes from the system, You can use below code.
print minute(now)
In QTP we have one function called Hour that can be used to find out the Hour part from given timestamp.
Example -
print Hour("09:33:44")
In above example script will print 9.
To get the current Hour from the system, You can use below code.
print Hour(now)
Please give your inputs, suggestions, feedback to Us about above QTP topic. We value your thoughts.
No comments:
Post a Comment
Please Leave your reply. We value your feedback and inputs