python72 Posted November 23, 2010 Share Posted November 23, 2010 I need to know which day of week was on particular date, so for example I would provide date lets say "Nov 22, 2010" formatted as needed and the function would return "Monday", is there a function in php to do that or how can it be done? Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted November 23, 2010 Share Posted November 23, 2010 echo date('l', strtotime('Nov 22, 2010')) EDIT: Where is this date coming from? It's possible you can just return the day name at the same time the date is retrieved. 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.