File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Help - subtracting two timestamps on different dataTable rows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Help - subtracting two timestamps on different dataTable rows" Watch "Help - subtracting two timestamps on different dataTable rows" New topic
Author

Help - subtracting two timestamps on different dataTable rows

Alejandro Ross
Greenhorn

Joined: Jun 13, 2006
Posts: 9
Hi everyone,

I have a datatable with each row displaying a 'log' entry that includes a logTimestamp field. I want to calculate the timestamp difference between row 'i' and row 'i-1'. Is there any way to do this in JSF?

Thanks!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Help - subtracting two timestamps on different dataTable rows