I have an Ecowitt Lightning detector and I am trying to write my own (very simple) page to display the results
<#LightningDistance> is fine
<#LightningTime> just returns the time of the last strike and I want date and time.
The Wiki says "Date and Time of last strike (default without output parameters is locale's short time format e.g. 18:02 or 6:02 pm, without date, but tag accepts both date and time output parameters)" but I don't know how to do this!!
How do I output the date and time please
Thanks
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
Format of <#LightningTime>
Moderator: mcrossley
- The Dalek Hunter
- Posts: 255
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Ecowitt GW1000B, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
-
- Posts: 3246
- Joined: Sat 13 Aug 2011 9:33 am
- Weather Station: Ecowitt HP2551
- Operating System: Windows 10 64bit
- Location: Burnham-on-Sea
- Contact:
Re: Format of <#LightningTime>
Details on how to do this are here https://cumuluswiki.org/a/Webtags/Parameters
- The Dalek Hunter
- Posts: 255
- Joined: Wed 05 Aug 2020 11:51 am
- Weather Station: Ecowitt GW1000B, Ecowitt GW2000
- Operating System: macOS Sonoma on a Mac Mini M2
- Contact:
Re: Format of <#LightningTime>
Many thanks - the answer is
<#LightningTime format="HH:mm' on 'd MMMM yyyy">
<#LightningTime format="HH:mm' on 'd MMMM yyyy">
- dazza1223
- Posts: 860
- Joined: Sun 25 Jan 2015 8:41 pm
- Weather Station: Davis Vantage Pro 2 plus
- Operating System: Raspberry pi 4 (4gb)
- Location: Worthing
- Contact:
Re: Format of <#LightningTime>
like thisThe Dalek Hunter wrote: ↑Wed 22 Jun 2022 10:16 am I have an Ecowitt Lightning detector and I am trying to write my own (very simple) page to display the results
<#LightningDistance> is fine
<#LightningTime> just returns the time of the last strike and I want date and time.
The Wiki says "Date and Time of last strike (default without output parameters is locale's short time format e.g. 18:02 or 6:02 pm, without date, but tag accepts both date and time output parameters)" but I don't know how to do this!!
How do I output the date and time please
Thanks
<#LightningTime format="HH:mm:ss / dd-MM-yyyy">