how to get date format from system locale..format means
neither long nor shor... format from system locale. i need
like your date is mm/dd/yyyy formate or mm-dd-yy or with
time like that. how to get.

Answers were Sorted based on User's Feedback



how to get date format from system locale..format means neither long nor shor... format from system..

Answer / kesava

i take cint that i will get mm/dd/yy format
first ofall i capture that value take help stepgenatator later
mm/dd/yyyy change into your format

Is This Answer Correct ?    1 Yes 4 No

how to get date format from system locale..format means neither long nor shor... format from system..

Answer / bkiranratna

see the 'cdate' in the qtp help file .

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More VB Script Interview Questions

Can automation testing find ssame no. of bugs what we can find by manual testing?

0 Answers  


We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?

0 Answers  


Explain about tristate constants?

0 Answers  


What is the difference between a dictionary and an array?

0 Answers  


How to write a general script which should does the following a). If a page object is given, it should identify the page object of the corresponding page(site). b). It should identify all the links of that particular page. in QTP tool?

2 Answers   IBM, Infosys, Wipro,






what is diff between static and dynaic arrys?

0 Answers  


Mention the environments where vbscript could be run?

0 Answers  


What is purpose of scripting.filesystemobject class in vbscript?

0 Answers  


how to get date format from system locale..format means neither long nor shor... format from system locale. i need like your date is mm/dd/yyyy formate or mm-dd-yy or with time like that. how to get.

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  


write generic functions for webapplication?like generic function for webedit generic function for webbutton generic function for links

1 Answers  


How will you get the octal value of the given number in vbscript?

0 Answers  


Categories