example-date format is 01-jan-09 in QTP.How to convert this
format to 01-01-09?
Answer Posted / kiran kallepu
please find below code
givenDate = "01-jan-09"
DD = Day(givenDate)
msgbox DD
MM= month(givenDate)
msgbox MM
YY=year(givenDate)
msgbox YY
sysdate=DD&"-"&MM&"-"&YY
msgbox sysdate
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
What is an optional step in qtp ?
Which features or drawbacks of QTP lead to the upgrade for a newer version?
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
How does qtp identify the object in the application?
What the differences are and best practical application of Object Repository?
What are the 3 main stages involved in testing with qtp?
What is the difference between rational rose and QTP?
what is the diff b/w assistive and mandatary rules of object repository in QTP???
Explain the Different types of QTP test assets and their extensions?
What is the parameterization?
what function you write to do database testing with the help of qtp?
Differentiate the type of test cases which can be automated and which cannot be automated?
How to use Environment parameterization? Explain with an example.
Can we run test with out adding object in object repository? How it is possible?