OpenWGA 7.10 - TMLScript reference

Method :


On object Date
Usage Tests if the current date is before 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 before the point represented by the parameter date.
Parameters date (Date):
Date to compare
Return value true if the current timepoint is before 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