Date stamp on a SD file from a real time clock

That was it, works perfect! Made the changes, you had original sent me and clarified in the last post. I only had to make one modification, it may have to do with I am using a different RTC than you had first mentioned. I had to remove this if statement "if (rtc.lostPower())" I got a message that the class doesn't have lostPower. I just removed that part and left the rest of the line as is and it work great.

Thanks again for all your help
John