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
I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all
Does QTP run in any environment?
There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
What is the difference between rational rose and QTP?
Explain the types of object repository?
What is output value? How many types of output values are there in qtp?
What are the various automation frameworks available in qtp?
wht is Manual Testing Frame work. Pls anybody can give appropriate answers
I am having major problems with some DB Table Checkpoints I add to my script. I 35 web based applications recorded and each has DB Table Checkpoints insert but only 1 script isn't recognizing the DB Table Checkpoints for some reason. I've checked the DB connections and the info in the Library Functions and still only this one script out of 35 doesn't recognize the DB Table Checkpoints. Can someone please help me figure out why only this one script out of 35 that's hitting the same database is having a problem.
What are the types of object repositories? Which one is you are using?
If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?
how to post xml data from QTP scripts to any application?
How can I change object description or check point values in qtp?
Discuss quicktest professional environment?