OpenWGA 7.6 - TMLScript reference

WGA » WGA.Validate
Method :

isDateInPast([date])

On object WGA.Validate
Usage Tests if the date is a valid date in the past
Parameters

date (Date, optional):

Date to test. In WebTML field validations this can be omitted to test the current field

Return value true if the date is in the past (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events