Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Report Date and Timestamp Converstion(Report Date and Timestamp Converstion)
Report Date and Timestamp Converstion [message #1059077] Thu, 16 May 2013 14:43 Go to next message
nat rajan is currently offline nat rajanFriend
Messages: 1
Registered: May 2013
Junior Member
I have an requirement where i have to display the local(desktop) time stamp in the BIRT report. But the report deployed it in the Unix server tomcat, so BIRT uses server side scripting and always displaying the server time.


Someone please help me on this conversion.
Re: Report Date and Timestamp Converstion [message #1059134 is a reply to message #1059077] Thu, 16 May 2013 23:59 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Try something like this in a HTML text box in your masterpage header or footer:

<script>
temp = new Date();
document.getElementById("localDateTime").innerHTML = temp;
</script>

<div id="localDateTime"/>


Michael

Developer Evangelist, Silanis
Previous Topic:Background color on date cells
Next Topic:impossible to extract the incorporated font
Goto Forum:
  


Current Time: Fri Apr 19 20:33:02 GMT 2024

Powered by FUDForum. Page generated in 0.03019 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top