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 ValueDescription
True/FalseReturns true if the date falls on a Monday, otherwise false.

Sample

ExampleResultDescription
isMonday(2023-08-14)trueAugust 14th, 2023, is a Monday, so the function returns true.
isMonday(2023-08-15)falseAugust 15th, 2023, is not a Monday, so the function returns false.

To view all the Date functions, click here.

See Also