The Arduino IDE is used to code for Arduino Projects.
You can power an Arduino project multiple ways. You can use your computer for power from USB, a 9 volt battery, a wall power adapter and more.
This is an easy to use library to add RTC to an Arduino. http://www.rinkydinkelectronics.com/library.php?id=73