RTC and EEPROM

Hi friends
We are pursuing on project that uses both the RTC and EEPROM in the arduino uno. I need some help to save data on the EEPROM when the day changes... How could i get the date value and hour value

depending what RTC u are using.... just look at that RTC's particular (rtcxxx).h file and u will see the list of the function calls..

We are using ds1307

INCLUDE the DS1307.h file in ur program and go look at the fucntions u can call
and what variables are needed..etc..

You never need to check anything but the day:

byte dayMarked;
//...

void loop()
{
  //...
  DateTime now = RTC.now();
  if (now.day != dayMarked)
  {
    //.. do your day change thing
    dayMarked = now.day;
  }
//...
}