Hopefully this is in the right sectionPlease move if not So, I need to run a query on one of our databases here at work and I have got it almost to the point that is needed This is my query as of right now: --get TIMEINSECONDS, INPUNCHDTM, OUTPUNCHDTM for the last 15 days SELECT.