The formula I know for the test statistic for a paired samples t test is where you divide the mean difference by the standard error.

I've come across another formula that instead subtracts the mean 'after' by mean 'before' and then divides that by the combined variance (which includes the covariance).

Both methods give quite different results and I was just wondering if you would use one of another in certain situations? Or maybe I'm missing something completely