Hello.
I decided to make a system on the site that will count how much time has passed since the material was published (Example: 1 hour ago, 2 hours ago, 1 day ago, etc.). And so the question was how can this be realized? As long as there are options either to calculate right on the page, or to make it all a “crown” which will put the whole thing in the database and then just output. There is a lot of materials. How will it be more efficient and faster for server operation?
Thank you in advance.
ps. Do not mind listening to other options as it can be done.