Hi,
I will provide perticular age,it needs to enter date in
text box (MM/DD/YYYY) compare to system date. or already
exist data in the text box.

Answer Posted / gangadhar

X=CDate(x) 'it will convert the date in the textbox
y=now()
msgbox Datediff(YYYY,x,y)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question

1485


Write a script to customize the test results in PDF and HTML format.

2082


How to find the difference between 2 dates in qtp?

576


Explain in brief about the quicktest professional (qtp) automation object model?

559


Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris

1739






Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations

1756


How will you find the current time of the remote machine using QTP script?

590


What is clean sweep?

1372


Explain different types of action in qtp?

568


How will you handle java tree in qtp?

621


Explain measuring transaction.

582


When should I use smart identification?

596


Can U Explain about QTP tool from older version to latest version also its differences?

1511


Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?

1483


How to test fly out menu in qtp?

514