Forum Discussion
KenFirch
8 years agoQrew Trainee
For a formula duration field:
var date thisyear = Date(Year(Today()),Month([Birth Date]),Day([Birth Date]));
var date nextyear = Date(Year(Today()) + 1,Month([Birth Date]),Day([Birth Date]));
If($thisyear >= Today(),
$thisyear - Today(),
$nextyear - Today())
var date thisyear = Date(Year(Today()),Month([Birth Date]),Day([Birth Date]));
var date nextyear = Date(Year(Today()) + 1,Month([Birth Date]),Day([Birth Date]));
If($thisyear >= Today(),
$thisyear - Today(),
$nextyear - Today())
ShawnPetrunak
8 years agoQrew Trainee
Thank you Ken! Is there by chance an addition that I can make to the formula to change the font color to red if the number it generates is less than 90?