After

From Keyfax Wiki
Revision as of 09:50, 10 April 2019 by Wikiadmin (talk | contribs) (Created page with "After compares two dates and checks if the first is after the second. There are various ways this can be used in the scripts. Here are four examples of how. These examples a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

After compares two dates and checks if the first is after the second. There are various ways this can be used in the scripts. Here are four examples of how.

These examples are available in the model scripts database 

Example One

Compare two fixed values. One value from a company databox and one value in an expression.

Afterfunction1.png

  • Read CompanyData.Expressions.Date (15-10-2016) and write into Examples.Date
  • Run expression Examples.Date.After 14-10-2016 to check if it is after 14-10-2016
  • Display message to the user telling them if this is true or false.

Setup

Afterfunction5.png

Afterfunction6.png

Example Two

Example Three

Example Four