I build up a little code for a Problem I´m dealing with. I want to create a column, that says "red", when a day_x was more than two days ago (before yesterday). If day_x was yesterday, or is today, the column should say "orange". The code underneath is my Version. The Variables "today" and "yesterday" contain the date, which is dynamic, so it changes every day, so it is always the right date. But if I set my day_x to todays date, it says "red", while it should say "orange".