Menu Close

Find Date Difference Between two Columns in MySQL

0
(0)

Here, we will see how to find days difference between two date columns. Follow the Query below,

SELECT *, DATEDIFF(date_to, date_from) AS Days FROM table_name; 

Output

Date Difference Between two Columns

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Share

Posted in MySQL

Leave a Reply

Your email address will not be published. Required fields are marked *

You can also read...