Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Displaying Current Date and time
MCD
Hi. I am trying to display the current date and time in a report footer. Although, my PC is set to EST, the report is displaying the GMT. How can I get the correct time to display?
Here is what I am currently using in the footer:
<VALUE-OF format="mm-dd-yyyy kk:mm:ss">new Date()</value-of>
Thanks,
Maria
Find more posts tagged with
Comments
kclark
In the onCreate() of a label in your master page you could do something like this<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
var d = new Date();
var n = d.toLocaleString();
this.text = n;</pre>