D
D
De YURII2015-10-29 18:28:49
PHP
De YURII, 2015-10-29 18:28:49

Humanoid dates for posts in JS or PHP?

a571ae9c24ff4715985e4b71aa0aeb43.pngf5b1b3e7d7884697bc65419991230905.png
Such dates are used in VK.
Prompt the library, it is possible as a variant of js and PHP.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Taratin, 2015-10-29
@Dejurin

momentjs.com
lesson
ruseller.com/lessons.php?rub=32&id=2043

S
Stalker_RED, 2015-10-29
@Stalker_RED

Where did this fashion come from? It's inconvenient!
Here on the toaster they write "three hours ago" and FIG you will understand which of the two messages was earlier. Some went even further, they don’t write the date at all. Where is the publication date on this page , for example? Without looking at the source of the page, it remains to be guessed from the comments.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question