How to get a day of the week from date using php code?
|
Rate this page :
|
[ 0 votes]
|
Date() function is used to get the day of the week from date. Here, date("l") will return output like Tuesday and date("D") will return output like Tue.