I have string value for date as "Wed, 25 Apr 2012 23:17:06 -0400"
I want to convert it into Date value
p.s : I'm using php 5.2.
Look at these:
http://www.php.net/manual/en/function.strtotime.php
http://www.php.net/manual/en/function.date.php
You could do something like date('Y-m-d' strtotime('Wed, 25 Apr 2012 23:17:06 -0400'));