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 Link to comment https://forums.phpfreaks.com/topic/114330-day-in-php/ 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 Link to comment https://forums.phpfreaks.com/topic/114330-day-in-php/#findComment-587913 Share on other sites More sharing options...
ayok Posted July 11, 2008 Author Share Posted July 11, 2008 All right! thanks man! ayok Link to comment https://forums.phpfreaks.com/topic/114330-day-in-php/#findComment-587930 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.