How to calculate how many time passed from the date with timezone? : I get from the server date with this format:

    2016-05-27 17:33:43+0400

Now, I want to detect, how many time passed since that date? For example `1 day 5 hours 10 minutes 20 seconds`.

How can I do it? I know how to calculate this from the timestamp, but do not know how to convert this to timestamp.

Can anyone help me with it?