How to find Day from date string in PHP?
date, php
Solution
Can't you parse the date with `strtotime`? If so, you can do it like this:
<?php
date('l', strtotime('June 1, 2012'));
?>
Problem
i have string like below `"June 1, 2012"`. i need to find day for the above string. this value return from wordpress postdate() function. how can i do this in php?