This below SQL User Defined Function script is to returns How Long the date already passed, in wording. It's usually displayed in articles to inform the reader how long the article already posted.
The basic idea is just comparing 2 dates --- specific date and current date / GETDATE() ---, and returns in a simple wording. The longest time is YEAR, while the fastest time is will return "JUST NOW" if the different is within 1 hour.
To use it, you can call the function directly from SQL Select like this example below: