RTC integration with Arduino MEGA

i afraid of losing internet connectivity so i lose all event logs not only the date and time,,
Using the SDcard and RTC module gurantee that logs are stored and with all date and time
as project will be placed in farm which is bit far from city