isTomorrow

Modified on Tue, 22 Aug 2023

Description

Use this function to check if a given date is tomorrow's date. It returns true if the given date is equal to the day after the current date, and false otherwise.

Syntax

isTomorrow(date)

Returns

Return ValueDescription
True/FalseReturns true if the given date is tomorrow's date, otherwise false.

Sample

ExampleResultDescription
isTomorrow(2023-08-10)trueAugust 10th, 2023, is tomorrow's date, so the function returns true.
isTomorrow(2023-08-09)falseAugust 9th, 2023, is not tomorrow's date, so the function returns false.

To view all the Date functions, click here.

See Also