• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to compare time row by row  RSS feed

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have ouput like this


i am going to get the minutes difference between the timestamp,

how do i get the difference row by row

please help me any body having idea
 
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read a row. Read another row, compare the two. Do that until there are no more rows.
 
Baktha Elumalai
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please provide some example
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NotACodeMill, ShowSomeEffort.

What do you have so far? Are you having a specific problem?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!