Author Topic: Current date / time in HTML report  (Read 5646 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Current date / time in HTML report
« on: February 01, 2016, 09:12:22 pm »
Hey guys,


Is there a way to get the current date and time into (the front page of) an HTML report?
I can't find an option for this.

I don't mind a creative solution (read: hack), so I tried creating a search which returns the current date/time and putting a Hyperlink to that search on my diagram, but of course the HTML version of the diagram only shows the hyperlink itself, not the result of the search.

I could create a stereotype with a shape script which displays the result of an Add-In call which returns the current date/time, but frankly that's farther than I'm willing to go for this.

You see what I'm looking for -- a complex setup is fine, but it must be fully automated and integrated into the regular HTML generation process.

Any thoughts?


/Uffe
My theories are always correct, just apply them to the right reality.

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Current date / time in HTML report
« Reply #1 on: February 02, 2016, 06:49:06 am »
Wouldn't it be easier to add some javascript to your HTML template that displayed the lastModifiedDate of one of the files in the HTML report?