How can I convert 2012-01-18T11:45:00+01:00 (ISO 8601) to 1326883500 (unixtimestamp) in PHP?
2012-01-18T11:45:00+01:00
1326883500
echo date("U",strtotime('2012-01-18T11:45:00+01:00'));
How do I get timestamp from e.g. 22-09-2008?
How to find the time elapsed since a date time stamp like 2010-04-28 17:25:43, final out put text should be like xx Minutes Ago/xx Days Ago
I am coding an application where i need to assign random date between two fixed timestamps how i can achieve this using php i've searched first but only found the answer for Java not php for example : $string = randomdate(1262055681,1262055681);