Howto redirect (convert from hex to dec/Serial.print) fcn output into a var?

Where is this function:

readDS1307(0, r, 8)

defined/implemented?