Timestamp in HTML page?

Moderator: Mattk

Post Reply
jlavery
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: Fri Oct 09, 2009 11:47 pm

Timestamp in HTML page?

Post 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
Vetinari
Junior Boarder
Junior Boarder
Posts: 39
Joined: Tue Aug 11, 2009 9:01 am

Re:Timestamp in HTML page?

Post 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.
jlavery
Fresh Boarder
Fresh Boarder
Posts: 11
Joined: Fri Oct 09, 2009 11:47 pm

Re:Timestamp in HTML page?

Post by jlavery »

Ah - perfect, thanks!
Post Reply