Monday, August 27, 2018

How To Display Date And Time In Duration (Such As One Hour Ago) In SQL Server

Today, in this post, I am going to explain the SQL statement which is used to to get the date and time difference in a valid format like 1 hr ago, or 30 min ago, or 1 week ago, 1 month ago, and so on.

source https://www.c-sharpcorner.com/Blogs/how-to-display-date-and-time-like-1-hr-ago-or-30-min-ago-in-sql-server

No comments:

Post a Comment