--- title: "system.date.isAfter" description: "Compares two dates to see if date_1 is after date_2." --- # system.date.isAfter > Compares two dates to see if date_1 is after date_2. This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions This scripting function has no [Client Permission](projects\project-properties\project-properties.md#client---permissions) restrictions. ## Syntax `system.date.isAfter(date_1, date_2)` ### Parameters Type | Parameter | Description ------- | ------- | ------ Date | `date_1` | The first date. Date | `date_2` | The second date. ### Returns **Bool** - True (1) if date_1 is after date_2, false (0) otherwise. ### Scope All ## Code Examples ```python title="Example 1" #This will compare if the first date is after the second date, which it is. first = system.date.getDate(2018, 4, 28) second = system.date.getDate(2018, 3, 22) print system.date.isAfter(first, second) #Will print true. ```