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

If created one virtual object? Next time I changed the window position will it work?

988


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?

1029


what could go wrong with test automation?

1999


Why qtp always start action1 and does not start action?

1031


Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?

1850


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..

1990


Both static and dynamic arrays are handled by the vb script. Is it true?

976


How to change the priorities of the recovery scenario properties?

1100


What is the expert view?

939


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

2053


How may types of defects identify application or your currently working application?pls give me answer..

1945


What are the key points to create a framework in QTP for oracle forms?

2201


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 ,

1801


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...

2184


Is text area check point supports for web applications?

915