1 | FirstDatetime is between the others. |
0 | FirstDatetime is not between the others. |
FirstDatetime | String in datetime format. |
SecondDatetime | String in datetime format. |
ThirdDatetime | String in datetime format. |
Option | Whether to count a datetime that happens at the very beginning or end as being between. Defaults to BothExclusive (see More Info). |
For information about how to configure the format, see About Date and Time Commands.
% DateTimeIsBetween {2000-01-02 03:04:05} {2000-01-02 03:04:04} {2000-01-02 03:04:06}
1
% DateTimeIsBetween {2000-01-02 03:04:04} {2000-01-02 03:04:04} {2000-01-02 03:04:06}
0
% DateTimeIsBetween {2000-01-02 03:04:04} {2000-01-02 03:04:04} {2000-01-02 03:04:06} LeftInclusive
0