DZone Forums
Go Back   DZone Forums > Community > Enterprise Development > Web Services, SOA & ESB
Reload this Page Export high precision time data from web report to Excel/Word file
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Aug 2009
Default Export high precision time data from web report to Excel/Word file - 08-10-2009, 09:15 AM

Background

When exporting web report to Excel/Word file, the precision of high precision time data will decrease. That is because of the display format of Excel/Word. For example, if there are time data of millisecond, it will changed to second after being exported to Excel/Word.

This is troublesome for users of web report. then, is there a way to keep the precision of time data?

Solution

The answer is yes!

As a free web-based Java reporting tool, RAQ Report pays a lot of attention to details. For this problem, RAQ Report provides a wonderful function — str().

Easy Operation

Users only need to write the function as str(value(),”yyyy-MM-dd HH:mm s.S”) as shown below. Then, time data can be displayed correctly after being exported to Excel/Word file.





This post is from freezea's blog.
Reply With Quote
Reply

Tags
raq report

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export to excel ebosysindia Java 3 05-12-2009 11:20 AM
Retrieve data from excel to store in mysql neelakannan MySQL 0 06-09-2008 06:55 AM
how to search xml file data based on the given keyword from html form nicemothi Java 0 04-04-2008 03:51 AM
BIRT report with scripted data set does not show in Preview tab rakesh411 BI & Reporting 0 03-26-2008 11:37 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com