in my application I have a TableView that displays all the posts made by users of the app ...
I noticed that the date on social networks of the post is written based on the current date, for example:

The post was made ​​2 hours ago

In your opinion what is the best method to accomplish this? There are no tutorials or guides where I can figure out how to get this?

Thank you all for future councils
['https://Stackoverflow.com/questions/20469861', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2773233/']
This problem has already been solved for you; use the excellent [FormatterKit](https://github.com/mattt/FormatterKit#ttttimeintervalformatter), specifically the time interval formatter component of it.
Basically, create a timestamp using whenever a post is created. Then compare that to the current time.