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
If created one virtual object? Next time I changed the window position will it work?
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
what could go wrong with test automation?
Why qtp always start action1 and does not start action?
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..
Both static and dynamic arrays are handled by the vb script. Is it true?
How to change the priorities of the recovery scenario properties?
What is the expert view?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
How may types of defects identify application or your currently working application?pls give me answer..
What are the key points to create a framework in QTP for oracle forms?
Does any one worked on JIL Emulator , Testing with QTP(automation). Trail Version of QTP is not identifying the child objects of JIL emulator, Can any one help me out ,
Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...
Is text area check point supports for web applications?