How to remove milliseconds from a timestamp query?

I am querying the time since the last recorded time in my db and putting it in a Singlestat Panel. It works fine, but I want to get rid of the milliseconds, as those are not necessary. Here is my SQL query and what the result looks like:

Thoughts on how to hide the milliseconds?