Was looking at some C++ code and saw a line of code that appeared a little bit weird. Wonder if someone around could have an idea, mdy is a variable:


y = (mdy>>9) && 0x7f + 1900;


this is part of a simple code that calculates julian dates out of our calendar and the date is introduced as a string variable, ie: 02121987 (february 12 1987)