WXforum.net

Web Weather => Weather Web Site Help => Topic started by: Peppo on January 02, 2018, 12:40:40 PM

Title: Current Day and time in template
Post by: Peppo on January 02, 2018, 12:40:40 PM
It's possible to add a current day ane time in a template?
 
Title: Re: Current Day and time in template
Post by: saratogaWX on January 02, 2018, 05:04:02 PM
Yes, but.. which template, and where do you want the date/time to come from (webserver, weather station software, or browser)?
Title: Re: Current Day and time in template
Post by: Peppo on January 03, 2018, 04:12:27 AM
Sorry.
I'm using a modified "Current_Vantage_Pro_Plus.htx" template on a my ftp server. It doesn't use any current day and time variable (same as <!--sunriseTime--> for example).
Ther's any variable referring to a Current Day and time, same as appear on same imeges?
Title: Re: Current Day and time in template
Post by: wvdkuil on January 03, 2018, 05:48:52 AM
Sorry.
I'm using a modified "Current_Vantage_Pro_Plus.htx" template on a my ftp server. It doesn't use any current day and time variable (same as <!--sunriseTime--> for example).
Ther's any variable referring to a Current Day and time, same as appear on same imeges?
These are all weatherlink tags, just Google on weatherlink tags
http://www.meteo-grognon.com/DOCUMENTATIONS/VANTAGE_PRO/SOURCES/weatherLink_html_tags_fichiers/weatherLink_html_tags.html
The ones you need are at the bottom
Code: [Select]
UTC Time   <!--utcTime-->
UTC Date   <!--utcDate-->

Date on the Station  <!--stationDate-->
Time on the Station   <!--stationTime-->

Wim
Title: Re: Current Day and time in template
Post by: Peppo on January 03, 2018, 06:14:44 AM
Yes!!!
Tanks for all tags too.