Hi there! Thank you for your kind attention! I have a database to record the completeness of my daily routine, and I want to implement a penalty system where if I fail to complete any tasks on a given day, I will incur a penalty of 100 points. Additionally, completing tasks the following day should not affect the penalty incurred on the previous day. The following is how I currently have it set up:
-
Checkbox, named as my task, e.g., 30min exercise.
-
Formula, named as Complete?_Task, e.g., Complete?_exercise. The formula inside is
if(prop("30min Exercise"), date(now()), 0)
. - Formula, named as Penalty. The formula inside is:
if( and( now() > dateAdd(prop("Date"), 1, "days"), or(prop("Complete?_exercise") != date(prop("Date")) ) ), 100, 0 )
However, the now() function generates a problem. When I restart the database, the now() function automatically updates, making this penalty system fail. I appreciate your help!