isThursday

Modified on Tue, 22 Aug 2023

Description

Use this function to check if a given date falls on a Thursday. It returns true if the given date is a Thursday, and false otherwise.

Syntax

isThursday(date)

Returns

Return ValueDescription
True/FalseReturns true if the given date is a Thursday, otherwise false.

Sample

ExampleResultDescription
isThursday(2023-08-10)falseAugust 10th, 2023, is not a Thursday, so the function returns false.
isThursday(2023-08-24)trueAugust 24th, 2023, falls on a Thursday, so the function returns true.

To view all the Date functions, click here.

See Also