Skip to main content
Version: 7.9

This function is used in Python Scripting.


Compares two dates to see if a target date is between two other dates.

Client Permission Restrictions

This scripting function has no Client Permission restrictions.

Syntax, start_date, end_date)


Datetarget_dateThe date to compare.
Datestart_dateThe start of a date range.
Dateend_dateThe end of a date range. This date must be after the start date.


Bool - True (1) if target_date is >= start_date and target_date <= end_date, false (0) otherwise.



Coding Examples

Example #1
# This will compare if the first date is between the other dates, which it is not.
# Note that if the end date is before the start date, this function will always return False

target =, 4, 28)
start =, 3, 22)
end =, 4, 22)
print, start, end) #Will print false.