Is same date
- Last Updated: February 25, 2021
- 1 minute read
- Corticon.js
- Documentation
SYNTAX
<DateTime1>.isSameDate(<DateTime2>)
Returns boolean. True if the DateTime1 is the same as DateTime2, ignoring the time part.
The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions
The following Rulesheet uses .isSameDate to determine whether two dateTime values are the same date.
![]()
A sample Ruletest provides dateTime1
and dateTime2 for two examples. Input and Output panels
are shown below.
![]()