answersLogoWhite

0


Best Answer

datediff

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which date function is used to find the difference between two dates in SQL?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is Count Date Difference function?

It allows you to find the amount of days there are between two dates.


What is the difference between actual and projected release date for a federal prisoner?

The difference between the actual and projected release dates for a federal prisoner is that actual release date is when the prisoner will exactly leave prison. Projected date is simply the expected date for release.


How to get the date difference in oracle?

by using months_between() function


How can you find difference of days between two days in Microsoft Excel 2007?

Type one date into one cell, say A3 and the other date into another cell, say A4. Then in another cell you enter a formula that subtracts the earlier date from the later date. So if the later date is in A3, your formula would be: =A3-A4 You are now likely to get a date as a result. The date may seem to make no sense. However, what it is the amount of days between the dates added to the 1st of January 1900. Now what you need to do is change the formatting of this date to a number. Once you do that, you will have a number which represents the difference in days between the two dates.


What is difference between at and on?

At is somewhere and on is like a date/day


What is the significance of using date and time function in a spreadsheet?

There are all sorts of things that can be done with date and time functions. Lots of calculations are done with dates and times, like finding the difference between two dates, or finding what day of the week a date is on, or extracting part of a date or time, like just the month from a date or just the hour from a time. You could be creating a time sheet, which would require calculations with times and maybe dates. You may want to find the current date and time. All of these things and many more can make use of date and time functions so they are important and useful and an essential set of functions.There are all sorts of things that can be done with date and time functions. Lots of calculations are done with dates and times, like finding the difference between two dates, or finding what day of the week a date is on, or extracting part of a date or time, like just the month from a date or just the hour from a time. You could be creating a time sheet, which would require calculations with times and maybe dates. You may want to find the current date and time. All of these things and many more can make use of date and time functions so they are important and useful and an essential set of functions.There are all sorts of things that can be done with date and time functions. Lots of calculations are done with dates and times, like finding the difference between two dates, or finding what day of the week a date is on, or extracting part of a date or time, like just the month from a date or just the hour from a time. You could be creating a time sheet, which would require calculations with times and maybe dates. You may want to find the current date and time. All of these things and many more can make use of date and time functions so they are important and useful and an essential set of functions.There are all sorts of things that can be done with date and time functions. Lots of calculations are done with dates and times, like finding the difference between two dates, or finding what day of the week a date is on, or extracting part of a date or time, like just the month from a date or just the hour from a time. You could be creating a time sheet, which would require calculations with times and maybe dates. You may want to find the current date and time. All of these things and many more can make use of date and time functions so they are important and useful and an essential set of functions.There are all sorts of things that can be done with date and time functions. Lots of calculations are done with dates and times, like finding the difference between two dates, or finding what day of the week a date is on, or extracting part of a date or time, like just the month from a date or just the hour from a time. You could be creating a time sheet, which would require calculations with times and maybe dates. You may want to find the current date and time. All of these things and many more can make use of date and time functions so they are important and useful and an essential set of functions.There are all sorts of things that can be done with date and time functions. Lots of calculations are done with dates and times, like finding the difference between two dates, or finding what day of the week a date is on, or extracting part of a date or time, like just the month from a date or just the hour from a time. You could be creating a time sheet, which would require calculations with times and maybe dates. You may want to find the current date and time. All of these things and many more can make use of date and time functions so they are important and useful and an essential set of functions.There are all sorts of things that can be done with date and time functions. Lots of calculations are done with dates and times, like finding the difference between two dates, or finding what day of the week a date is on, or extracting part of a date or time, like just the month from a date or just the hour from a time. You could be creating a time sheet, which would require calculations with times and maybe dates. You may want to find the current date and time. All of these things and many more can make use of date and time functions so they are important and useful and an essential set of functions.There are all sorts of things that can be done with date and time functions. Lots of calculations are done with dates and times, like finding the difference between two dates, or finding what day of the week a date is on, or extracting part of a date or time, like just the month from a date or just the hour from a time. You could be creating a time sheet, which would require calculations with times and maybe dates. You may want to find the current date and time. All of these things and many more can make use of date and time functions so they are important and useful and an essential set of functions.There are all sorts of things that can be done with date and time functions. Lots of calculations are done with dates and times, like finding the difference between two dates, or finding what day of the week a date is on, or extracting part of a date or time, like just the month from a date or just the hour from a time. You could be creating a time sheet, which would require calculations with times and maybe dates. You may want to find the current date and time. All of these things and many more can make use of date and time functions so they are important and useful and an essential set of functions.There are all sorts of things that can be done with date and time functions. Lots of calculations are done with dates and times, like finding the difference between two dates, or finding what day of the week a date is on, or extracting part of a date or time, like just the month from a date or just the hour from a time. You could be creating a time sheet, which would require calculations with times and maybe dates. You may want to find the current date and time. All of these things and many more can make use of date and time functions so they are important and useful and an essential set of functions.There are all sorts of things that can be done with date and time functions. Lots of calculations are done with dates and times, like finding the difference between two dates, or finding what day of the week a date is on, or extracting part of a date or time, like just the month from a date or just the hour from a time. You could be creating a time sheet, which would require calculations with times and maybe dates. You may want to find the current date and time. All of these things and many more can make use of date and time functions so they are important and useful and an essential set of functions.


What is the difference between 'as on' and 'as at' in accounting?

There is no difference between both terms as both terms represents the date at which financial statements are prapared.


Difference between value date and transaction date in banking?

value date means ordinary date . transaction date means banking date.


What is the age difference between someone born December 19 1989 and someone born May 18 1995?

Including the start and end date in the calculation, there are 1977 days between the two dates.


How to link my dates in my Microsoft access table to the clock on my computer to produce an up to date difference in the date in my table?

the function to calculate the current date and time is "now()". to query the time you can type "<now()" or ">now()". to calaulate the difference, "now()-fieldname" to insert the current ate and time into a record set the vb code "fieldname = now()" to the after_insert event hope that helps


What are the release dates for My Date - 2009 Same Difference 1-6?

My Date - 2009 Same Difference 1-6 was released on: USA: 6 May 2009


How do you include date in if statement in excell?

Dates can be enclosed in quotation marks in an IF function or any function: =IF(A3>"12/12/13","After","On or Before")