I want to use a relay with rtc module ds3231,i want to make a timer that trigger only on monday at 7am,but i didint know how to make the code,did i need another library because i already have time and ds3231 libraries,please help me
FYI
Look at the Time and TimeAlarms libraries.
http://playground.arduino.cc/Code/time
//retrieve time variables from DS3231
readDS3231time(&second, &minute, &hour, &dayOfWeek, &dayOfMonth, &month, &year);
The just do your comparisons.
.