How to check day of the week in PHP?
In this tutorial, we are going to see how to check day of the week in PHP.
1. Code:
2. Example:
Input:
"2022-06-17", "friday"; "2022-06-20", "friday";
Output:
bool(true) bool(false)
In this tutorial, we are going to see how to check day of the week in PHP.
"2022-06-17", "friday"; "2022-06-20", "friday";
bool(true) bool(false)