Does anyone do any kind of duration computations on job run times from the (GEN) QUEUEDJOB table, based on the difference between the start & stop times?
I'd like to do something like this, by taking the difference between the stop time and the starttime or actstarttime, but since these fields are in decimal format instead of time format, I am having trouble determining how to convert them to minutes & seconds. (Since it is job run times I am trying to convert, I shouldn't ever need to go as far out as hours, so would only need MM:SS)
Has anybody ever done this and would you be willing to share how? Thank you.
http://www.sql-server-hel...ps/date-formats.aspx
If by decimal format you mean it's counting the number of seconds you could subtract the start number from the end number and then convert seconds into into mm:ss format, although I'm not sure how to do this except in Crystal since formulas are harder to do with a database query.