example-date format is 01-jan-09 in QTP.How to convert this
format to 01-01-09?

Answer Posted / brahma naidu kapa

It's very simple question;
no need to write all the excessive code.
Please convert the given value into date format by using
the CDATE Function

val = "01-jan-09"
Conv_Val = cdate(val)
msgbox Conv_Val

Result : "01-01-2009"

Is This Answer Correct ?    13 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i can done the project with QTP in that time i can say how many members in my team size?

1372


Explain the qtp test phases.

619


How can we extract data like "Details","Result","Time" from the 'Run Error' result generated in QTP after run time errors are generated during a run & import the details etc...into excel sheet

1538


I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .

1729


What is the synchronization point in qtp?

563






What is the use of text output value in quicktest professional?

512


What are the views available in quicktest professional (qtp)?

575


Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar

2801


What are the types of object repository?

581


What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?

608


How you can make an action as re-usable action?

656


Explain about business process component? types and usage?

1564


how to test use the quality control .how to verify the image verification

2546


How you can find length of array in qtp?

545


What are the advantages of parameterization ?

598