HTML5 Data Bindings Formatter Support Product Page
Format based on date
Asked 11 years ago
3
have this question
11 years ago Brad Lawryk posted:
Is it possible to change a format based on date?For example all records with a date older than today have one value and all records with a newer date than today have a different value?
Replies
Replied 9 years ago
9 years ago Brad Lawryk replied:
Why doesn't this work?
<span class="{{Employer_CallBack.where( "Employer_CallBack", "<=", "now" ).then( "yellowText", "greenText" )}}">{{Employer_CallBack}}</span>
Should show yellow text of date is today or past and green text if the date is in the future.
<span class="{{Employer_CallBack.where( "Employer_CallBack", "<=", "now" ).then( "yellowText", "greenText" )}}">{{Employer_CallBack}}</span>
Should show yellow text of date is today or past and green text if the date is in the future.