ayok Posted July 11, 2008 Share Posted July 11, 2008 Hi, With php to find a current day is with date("l") or date("w"), but how to find a day of a date? For example i want to know the day of September 23 2008. Thank you, ayok Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted July 11, 2008 Share Posted July 11, 2008 Use strtotime & date: <?php echo date('l',strtotime('September 23, 2008')); ?> Ken Quote Link to comment Share on other sites More sharing options...
ayok Posted July 11, 2008 Author Share Posted July 11, 2008 All right! thanks man! ayok Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.