Using RTC instead of millis to execute something every second

Hi,

I tried and i'm trying right now but I keep getting the message that "now" was not declared in this scope.

I initialized

unsigned long StarSec = 0;
int EndSec = now.second();

So I can use EndSec - StartSec but I get "now" was not declared in this scope

You see, for me it's not clear for me yet on how to initialize and how to set variable.