Hi,
Your date is controlled by a slider in the Numbers Effect.
We can use that value to calculate the days passed since a given day:
Make a new text-layer and give it’s “Source Text” property this expression:
dateValue=thisComp.layer("Layer with Numbers effect").effect("Numbers")(4); // change the layerName
startValue=3675; // the Slider-value at which you want the day counter to be 1
days=180; // number of days you want to count
dayCounter=linear(dateValue, startValue-1, startValue+days,0, days)
if you don’t want the value 0 to be visible untill the counter actually starts running through he days,
add these next lines:
if (dayCounter>0) {
dayCounter;
} else {
""
}