+ 1
What day it is PhP function
I need a php function that will tell which day it is. I want to use it in my code that would execute a specific code function based on the current day.
2 odpowiedzi
+ 1
// Prints something like: Saturday
echo date("l");
+ 1
Yea I got that, date('l'); does the job right