Jump to content

Timestamp Difference


Recommended Posts

By "table", do you mean a database? Which one and what format is the timestamp column in? How do you want the difference displayed? If this is for work, I assume you'd want the difference in hours, right?


Can the difference be calculated in the query (assuming a database) if there's a way to do that?

Link to comment
Share on other sites

Apparently I didn't see what others are assuming - you want to compare successive (?) rows of your table to see what the difference is between them.  Or is it more complicated in that you want to sort the rows and compare more than just the prior or next row to another row?  Or do you want the total range from highest to lowest timestamps? Or.....


How about letting us know?

Link to comment
Share on other sites

This thread is more than a year old.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.