expands a date string into an object containing several useful formats
-
Updated
Aug 10, 2019 - PHP
expands a date string into an object containing several useful formats
Displays relative date alongside with your post/comments actual date. Like 'Today', 'Yesterday', '2 Days Ago', '2 Weeks Ago', '2 'Seconds Ago', '2 Minutes Ago', '2 Hours Ago'.
Add a description, image, and links to the relative-time topic page so that developers can more easily learn about it.
To associate your repository with the relative-time topic, visit your repo's landing page and select "manage topics."