Before date
- Last Updated: February 25, 2021
- 1 minute read
- Corticon.js
- Documentation
SYNTAX
<DateTime1>.beforeDate(<DateTime2>)
Returns boolean. True if DateTime1 is an earlier date than 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 .beforeDate to determine whether a dateTime value is an earlier date than another.
![]()
A sample Ruletest provides dateTime1
and dateTime2 for two examples. Input and Output panels
are shown below.
![]()