Which date function is used in the vbscript language to find the difference between the 2 dates?



Which date function is used in the vbscript language to find the difference between the 2 dates?..

Answer / Navneet Kumar Yadav

The DateDiff function in VBScript can be used to determine the number of intervals that elapse between two dates. For example: "DateDiff("d", start_date, end_date")" will return the number of days between the dates.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB Script Interview Questions

Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder

1 Answers   IBM,


write script to open Gmail.com, and to write script for entering username and password and show whether the result as pass or fail

2 Answers   Thomson Reuters,


How will you get the exponent of the given number in vbscript?

1 Answers  


Input = 124 output should be 124421 Please do not use any string functions/variables

8 Answers   Cap Gemini,


Mention how you can call vbscript functions?

1 Answers  


What is the use of option explicit in vbscript?

1 Answers  


how to automatically update the sql server2005 database records when insert in vb6?

1 Answers  


What is byref and byval parameters in vbscript?

1 Answers  


What variable can you use to share info across the whole application for one user?

2 Answers  


Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?

1 Answers   Microsoft,


What is Querystring collection?

0 Answers  


Hi I don't have any idea on VBscript. can any one point me to a good web site to learn VBscript. Regards lina

2 Answers  


Categories