cloudy cloudy

Author Topic: Date/Time Stamp  (Read 170 times)

0 Members and 1 Guest are viewing this topic.

Offline ordnance1

  • Posts: 191
    • 1
  • OS/Browser:
  • Win NT 10.0
  • Chrome 72.0.3626.121
    • Yew St Rd. Weather
Date/Time Stamp
« on: March 13, 2019, 08:34:11 PM »
I will be the first to admit that in my searching I just missed this. I would like to add a date/time stamp to my customtextout but cannot find a tag.


Offline Weather Display

  • Posts: 86,527
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 72.0.3626.121
    • Weather Display
Re: Date/Time Stamp
« Reply #1 on: March 13, 2019, 09:41:06 PM »
if you open tagslist.txt with notepad.exe and then search for date and time then you will find the custom tags

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 27,953
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 72.0.3626.121
Re: Date/Time Stamp
« Reply #2 on: March 13, 2019, 09:44:14 PM »
As Brian says there are lots of existing options. This is what I use, it generates a standard format date/time stamp that php etc. will understand:

Code: [Select]
%date-year%-%date-month%-%date-day% %time-hour%:%time-minute%

Offline ordnance1

  • Posts: 191
    • 1
  • OS/Browser:
  • Win NT 10.0
  • Chrome 72.0.3626.121
    • Yew St Rd. Weather
Re: Date/Time Stamp
« Reply #3 on: March 13, 2019, 11:58:23 PM »
Thanks Niko,


That was very helpful

 

cumulus