Author Topic: Current Day and time in template  (Read 1132 times)

0 Members and 1 Guest are viewing this topic.

Offline Peppo

  • Member
  • *
  • Posts: 3
    • Current Weather Conditions at Fenegro', Italia
Current Day and time in template
« on: January 02, 2018, 12:40:40 PM »
It's possible to add a current day ane time in a template?
 

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Current Day and time in template
« Reply #1 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)?
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline Peppo

  • Member
  • *
  • Posts: 3
    • Current Weather Conditions at Fenegro', Italia
Re: Current Day and time in template
« Reply #2 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?

Offline wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1986
    • My PWS at Leuven Belgium Europe
Re: Current Day and time in template
« Reply #3 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

Offline Peppo

  • Member
  • *
  • Posts: 3
    • Current Weather Conditions at Fenegro', Italia
Re: Current Day and time in template
« Reply #4 on: January 03, 2018, 06:14:44 AM »
Yes!!!
Tanks for all tags too.

 

anything