OpenWGA 7.6 - TMLScript reference

Date
Method :

after(date)

On object Date
Usage Tests if the current date is after the parameter date
Description As date objects just represent points in time they cannot be queried for calendar specific fields, but they can be compared to other dates, independent of the used calendar. This method tests if the current point in time is after the point represented by the parameter date.
Parameters date (Date):
Date to compare
Return value true, if the current timepoint is after that of the parameter date, false otherwise
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events
    portletevent