example-date format is 01-jan-09 in QTP.How to convert this
format to 01-01-09?
Answer Posted / balaji
Hi You Can Use This Code
DD= Day(now)
msgbox DD
MM= month(now)
msgbox MM
YY=year(now)
msgbox YY
sysdate=DD&"-"&MM&"-"&YY
msgbox sysdate
| Is This Answer Correct ? | 8 Yes | 10 No |
Post New Answer View All Answers
Where you are storing your script?
How many tabs are available in debug viewer pane?
in qtp if we record a object and we record the object using virtual wizard then by which way the object is recognized that means recorded
How you can delete excel file in qtp?
What is the basic concept of quicktest professional?
How does qtp identify the object in the application?
Explain how you can replace string in qtp?
Explain how you can find the absolute value of the number in qtp?
What is use of object spy?
Dear Friends, I having total 3+year experience in manual testing including automation testing QTP, if i am attending any interview what kind of question will i get? please help me out
What contains Data Driven Framework document in qtp?
How to use descriptive programming?
what is description object?
How to get popup error message.
How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined