am giving to one number u can set into that in date format.u
can use any methods



am giving to one number u can set into that in date format.u can use any methods..

Answer / manjunathareddy

Yes,U can write any Date format.

Refer the below Example.

Set oExcel=GetObject("","Excel.Application")
Print oExcel.Text("12/03/12","DD-MMM-YY")



Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More VB Script Interview Questions

w r p syed then output was deys and click eysd and click ysde and click sdey and click deys and click eysd............

2 Answers   Cap Gemini, iGate,


a;;b;c;;;d in this string output is abcd will come how can we do that in vbscript in QTP testing?

2 Answers  


I need help to write a function in vbscript to click on a link. That link looks like a tab. There are 6 tabs. When I click on 1 tab it should show as "on". when I spy the class property is on. But for the one which is not clicked the class property is blank. I have objects created in our custom object repository. Please give me some idea.

1 Answers  


Which operator can be used to check if two numbers are equal or not in vbscript?

0 Answers  


Open Yahoo Login Page in that page Suppose i have 100 mails and i want to delete 10'th mail now give procedure & Coding For that Scenario

4 Answers   AppLabs, IBM,


Which command is used for writing text on a page?

0 Answers  


Is it possible to pass optional argument to function in vb script?

2 Answers  


Is vbscript language a case-sensitive language and what does it mean?

0 Answers  


How to get path of the file through scripting?

1 Answers   Hexaware,


How to write functions and sub in vb script?

0 Answers  


Mention what are the rules to name variable in vbscript?

0 Answers  


I wrote the vbscript code on notepad i was geeting run time error "object required line 1" my code is set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signin("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Setsec ure.Crypt.Encrypt("entr password") browser("gmail").page("gmail").WebButton("siginobj").click pls tell me whats wrong

1 Answers  


Categories