Currently I am receiving a created task field in Unix epoch format in tasks component. And I would like to calculate how much time its been the task has created.
For example : if the task created 2 Hours/Days/Minutes ago : I want to display it like "Created 2 hours/Days/Minutes ago".
what would be the easiest way to do this in Angular?