Explain few date functions in vbscript?



Explain few date functions in vbscript?..

Answer / Ayoosh Kumar Sharivastava

Some date functions in VBScript include Now(), which returns the current date and time; Date(), which returns only the date part of the current system time; Time(), which returns only the time part of the current system time; Day(), Month(), Year(), Hour(), Minute(), Seconds() to get specific parts of a date or time.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB Script Interview Questions

how to write vb script code for login gmail page by using notepad and how to run script in notepad

1 Answers  


Plz give the vb script for the following scenerio. In travel booking we have to select from delhi to mumbai from the combobox The prices will be display in another combo box .But i have to select the lowest price for it and submit it

1 Answers   IBM,


what is the object hyrarchy in QTP for a web based application

1 Answers  


a function that takes an integer array as an argument and returns the largest value in the array. Use the function in a program

1 Answers  


what is the standards used for writing the script in QTP

1 Answers  


How to use Text file (Notepad) as ur data source in QTP? Can u please provide some function code for it?

1 Answers  


In our application qtp unable to indentify the menu items,we tried number of times to add objetcs into object repository but fail. through normal recording mode only objects going to add into repository but while running same recording script qtp showing a error like " unable to indentify the object". in repository there is no any properties and pro values for that object and also i tried with virtual object config also unable to find the object in application and in repository. Then what i have to do to identify menu objects????? can anybody hell me pls..............

2 Answers   Blue Star,


write a program to display the system specifications of client system with the help of vbScript.

0 Answers  


write a program to display configuration of a local system with the help of vb script.

1 Answers  


What are the differences between sub procedures and function procedures?

1 Answers  


How can you fetch the value of a cookie?

1 Answers  


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

2 Answers  


Categories