Author Topic: Current Day and time in template  (Read 415 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: 6649
  • 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, Boltek-PCI/NexStorm, microSferics ToA, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge/hub
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?

Online wvdkuil

  • Wim van der kuil
  • Forecaster
  • *****
  • Posts: 1224
    • Support site Leuven Template and scripts
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
Vantage VUE with a WLIP connected to a Meteobridge used for https://weer.sluispark.be/
Same VUE+WLIP uploads to WL.com(2.0)  used for https://sluispark.be/weather28/
Vantage VP2 with a USB logger/Meteobridge for https://www.weerstation-herent.be/
Envoy with a WLIP uploads to WL.com(1.0) as a backup / test for the same site.

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