Please tell me how to implement this: I create news in the table, in addition to other information, I add time, how can I make it so that the time and date would be in this format:
after the addition is added 10 seconds ago and so on ... The next day in this format: Added: Yesterday at 20:21, etc., well, 2 days have passed from the moment of adding to write ... as it were constantly updated. Added 6 February 20:21
Thanks a lot who will help :)