Using string.equals() and not getting the results...

What's all the RTC stuff doing in a sketch about RFID?

 for(int i=1;i<11;i++)

The code isn't commented; why doesn't the index go from zero?