Difference between revisions of "Before"
From Keyfax Wiki
(→Example One) |
(→Example One) |
||
Line 6: | Line 6: | ||
[[File:beforefunction1.png]] | [[File:beforefunction1.png]] | ||
− | |||
The date value of one databox '''CompanyData.Expressions.Date''' is written into '''Examples.Date''' and the expression '''BeforeDate Fixed date''' checks if '''CompanyData.Expressions.Date''' (15/10/2016) is before the value in the '''Examples.Date.BeforeDate Fixed''' (14/10/2016) expression | The date value of one databox '''CompanyData.Expressions.Date''' is written into '''Examples.Date''' and the expression '''BeforeDate Fixed date''' checks if '''CompanyData.Expressions.Date''' (15/10/2016) is before the value in the '''Examples.Date.BeforeDate Fixed''' (14/10/2016) expression | ||
If true it'll display a message with True, if false then one with False. | If true it'll display a message with True, if false then one with False. | ||
+ | |||
+ | ===Setup=== | ||
+ | |||
+ | [[File:beforefunction2.png]] | ||
+ | |||
+ | [[File:beforefunction3.png]] | ||
+ | |||
+ | [[File:beforefunction4.png]] | ||
+ | |||
+ | [[File:beforefunction5.png]] | ||
==Example Two== | ==Example Two== | ||
==Example Three== | ==Example Three== |
Revision as of 09:23, 23 April 2019
Checks if one date is before another date.
Example One
Two fixed values are compared.
The date value of one databox CompanyData.Expressions.Date is written into Examples.Date and the expression BeforeDate Fixed date checks if CompanyData.Expressions.Date (15/10/2016) is before the value in the Examples.Date.BeforeDate Fixed (14/10/2016) expression
If true it'll display a message with True, if false then one with False.