Skip to end of metadata
Go to start of metadata

This function is used in Python Scripting.

Description

Compares to dates to see if date_1 is after date_2.

Client Permission Restrictions

This scripting function has no Client Permission restrictions.

Syntax

system.date.isAfter(date_1, date_2)

  • Parameters

Date date_1 - The first date.

Date date_2 - The second date.

  • Returns

Boolean - True if date_1 is after date_2, false otherwise.

  • Scope

Gateway, Vision Client, Perspective Session

Code Examples
Code Snippet
# This checks to see 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.
Keywords

system date isAfter, date.isAfter