isMonday
Modified on Tue, 22 Aug 2023
Description
Use this function to check if the given date falls on a Monday. It will return true if the date is a Monday, and false otherwise.
Syntax
isMonday(date)
Returns
Return Value | Description |
---|---|
True/False | Returns true if the date falls on a Monday, otherwise false. |
Sample
Example | Result | Description |
---|---|---|
isMonday(2023-08-14) | true | August 14th, 2023, is a Monday, so the function returns true. |
isMonday(2023-08-15) | false | August 15th, 2023, is not a Monday, so the function returns false. |
To view all the Date functions, click here.
See Also
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article