Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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

2158


Does QTP run in any environment?

1137


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?

2051


Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..

5051


What is the difference between rational rose and QTP?

2297


Explain the types of object repository?

1027


What is output value? How many types of output values are there in qtp?

1073


What are the various automation frameworks available in qtp?

1025


wht is Manual Testing Frame work. Pls anybody can give appropriate answers

2127


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.

2254


What are the types of object repositories? Which one is you are using?

1241


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

1096


how to post xml data from QTP scripts to any application?

2027


How can I change object description or check point values in qtp?

1070


Discuss quicktest professional environment?

1114