Several typos in the timestampdiff(datetime,datetime) path.

Includes a test that fails. And one that passes but uses similar code that didn't seem to be tested.