The most common confusion is between convolution and correlation 

CCF functions work like this, fix f(t) and slide g(t) over it from -inf to +inf and add up all the values, hence it has the same foymula but g(t+tau)
Convolution is the same thing just invert how the signal moves (if it was L2R make it R2L and vice versa)