Page 1 of 1

Timestamp in HTML page?

Posted: Sat Oct 10, 2009 10:12 am
by jlavery
I'm setting up a 'weather summary' page for our website, and would like to have a 'Last updated' label on the page.

Is there a Meteohub variable available for this in the template system? I had a look, but couldn't find one.

Thanks,

James

Re:Timestamp in HTML page?

Posted: Sat Oct 10, 2009 10:52 am
by Vetinari
Why do not you use the [actual_localdate2]-variable, this fit perfect for my need.
You can make a column or table-field:
<td>Last updated: [actual_localdate2]</td>

Put a red font color style over it and finish.

You can also make an extra column by saying, that these data are uploaded every 5 minutes or whatever time-interval you chose.

Re:Timestamp in HTML page?

Posted: Sat Oct 10, 2009 10:57 am
by jlavery
Ah - perfect, thanks!