Code:
program:
readgoal = strcat('readinggoal:', format_date(today(), 'yyyy'));
challenge = strcat('rgchallenges:purchases', format_date(today(), 'yyyy'));
if
format_date($date, 'yyyy') == format_date(today(), 'yyyy')
&& readgoal in $#admintags
&& $#purchasesource
&& $#cost !='0.00'
then
list_union(challenge, $#admintags, ',')
else
$#admintags
fi
Line 7 I'm trying to check whether the book's timestamp/date is set to this year. Is this the best method to do so?