• Post Reply Bookmark Topic Watch Topic
  • New Topic

difference between two timestamps  RSS feed

 
nimo frey
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two timestamps in my database-table:

start:

and

stop:

and want the difference in seconds by a query:

select stop-start from table

does not work as it returns

And I have no clue what it means.

Any suggestions?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!