How can I pass an object to a function?

Let's say that I create an object like this:

DateTime now = rtc.now();

How can I pass "now" to a function?

I just can't seem to figure this out.

Are you having trouble passing it or using it in the function ?

Please post a small but complete example sketch that shows the problem

// Example usage: myFunction(now);
void myFunction(DateTime& myDT)
{
  // do something with myDT (reference)
}

DateTime now = rtc.now();
funky(now);

// your function would look like this

void funky (DateTime dt){
// do something with dt

}

Thanks!