Matrix Version: 5.3.2
I have 3 metadata fields:
- converts an existing date field into a whole number (unix epoch)
- stores the number of seconds 3 months before today (as a whole number)
- stores either “NEW” or “OLD”, depending on whether the value of the first field is within the range defined in 2.
The code for each of these is:
1. EffectiveDate_number: %metadata_field_EffectiveDate^date_format:U%
2. EffectiveDate_past_limit: %globals_date_U^subtract:7890000%
3. EffectiveDate_difference: %metadata_field_EffectiveDate_number^lt_date:{metadata_field_EffectiveDate_past_limit}:OLD:NEW%
However, it’s not working 3 returns a false value each time.
Where am I going wrong?
TIA