I would like to strtotime dateformat like this – Fri Jun 15 05:38:11 +1000 2012 How could I do that? Basically I need to strtotime it, then do the following – $ago = time()-strtotime(Fri Jun 15 05:38:11 +1000 2012); and then do this –
$ago = $ago / (60*60*24);
echo $ago.' days ago';
So I need one thing – strtotime(Fri Jun 15 05:38:11 +1000 2012) which will work as it need to work.
If this type of date cannot be strtotime, then how can I edit it, so it could be strtotime?
Compare the difference and use floor/ceil to round.