Real time on arduino

Hello, I have a project which needs to get time. The device will be switched off(power off). But when it switches itself on again, it should be able to grab time data from some source. Planning to use arduino nano or micro. What is the best method for achieveing this?? Thanks

Google for "Arduino RTC"