I want write a query to get the last 24 hours worth of job record from the \"msdb.dbo.sysjobhistory\" table, but I can\'t get because I get the \"run_date\" and \"run_time\"
For databases after 2000, there is a function in the msdb database you can call that will return datetime:
msdb.dbo.agent_datetime(run_date, run_time) as 'RunDateTime'
If you are using sql 2000, you can copy the source of that function from a later version and create it in your instance of 2000. I wish I could take credit for all of this, but I originally found it here: mssqltips.com