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 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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>

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
User avatar
The Dalek Hunter
Posts: 242
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Ecowitt GW1000B, Ecowitt GW2000
Operating System: macOS Sonoma on a Mac Mini M2
Contact:

Format of <#LightningTime>

Post by The Dalek Hunter »

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
water01
Posts: 3215
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>

Post by water01 »

Details on how to do this are here https://cumuluswiki.org/a/Webtags/Parameters
David
Image
User avatar
The Dalek Hunter
Posts: 242
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>

Post by The Dalek Hunter »

Many thanks - the answer is

<#LightningTime format="HH:mm' on 'd MMMM yyyy">


:) :) :) :) :)
User avatar
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>

Post by dazza1223 »

The 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
like this

<#LightningTime format="HH:mm:ss / dd-MM-yyyy">
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
Post Reply