See inside and replace the values on "days before/since (dd) (mm) (yy)", you'll see how it works!
This custom block tells you the amount of days before/since the specified date (DDMMYY format). UPDATE: Fixed 'Date not valid' after day 12 of a month. CREDITS: daffy1234: Part of the days before/since calculation (https://scratch.mit.edu/discuss/topic/276597/) xb500002: Leap year calculation (https://scratch.mit.edu/projects/10733026/) Me: Detect in which day 'this' month ends (28, 29(leap years), 30, 31) for more accurate calculation