Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Any way to get the value days since 30 Dec 1899

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
jrichert
Posts: 31
Joined: Mon 12 Oct 2009 5:42 pm
Weather Station: Davis Vantage Pro 2
Operating System: VMware esxi4, XP Pro SP3, W7
Location: Bos-cha, Switzerland
Contact:

Any way to get the value days since 30 Dec 1899

Post by jrichert »

Sorry for asking - found it in Build 1055 - will give it a testing..

Many thanks

joe


Hello

I am using html parsing from cumulus to create a file with weather date for my allsky cam. All is working fine, except the times tamp. The software is awaiting the days since 30 Dec 1899. You can see the problem on the right top corner.
http://www.richert.ch/wetter/cam/ImageL ... AllSKY.jpg
Any ideas how I can solve this?

Many thanks and greetings from Switzerland.

Joe, HB9DRT
Last edited by jrichert on Fri 14 Dec 2012 1:01 pm, edited 1 time in total.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Any way to get the value days since 30 Dec 1899

Post by steve »

I can't think of any way you could get that directly from Cumulus. But it's a common way of storing dates and times, and it's how they are stored internally in Cumulus. So it would be very easy to provide a web tag giving the current date/time in that format.
Steve
jrichert
Posts: 31
Joined: Mon 12 Oct 2009 5:42 pm
Weather Station: Davis Vantage Pro 2
Operating System: VMware esxi4, XP Pro SP3, W7
Location: Bos-cha, Switzerland
Contact:

Re: Any way to get the value days since 30 Dec 1899

Post by jrichert »

Hi Steve

Thanks for the quick response. That would be great if I could just replace the field in the file with a cumulus web tag.
Please let me know, when you have a version or a way for me to test it...

Many thanks

Joe
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Any way to get the value days since 30 Dec 1899

Post by mcrossley »

If you can use a bit of javascript on your page, then you could use something like

var daysSince1899 = (new Date() - new Date(1899, 11, 30)) / (24 * 60 * 60 * 1000);
jrichert
Posts: 31
Joined: Mon 12 Oct 2009 5:42 pm
Weather Station: Davis Vantage Pro 2
Operating System: VMware esxi4, XP Pro SP3, W7
Location: Bos-cha, Switzerland
Contact:

Re: Any way to get the value days since 30 Dec 1899

Post by jrichert »

Hi Mark

No, that is not possible. The SW is awaiting a text file, already filled with the values. That's also the reason why I have to let cumulus create this file with content.

Let's see, what Steve can do ;-)

It's snowing the whole day and I would like to test the allsky cam :-( So I have time to do some more testing and SW optimizing :-)

Thanks for your Tip and Greetings from Switzerland

Joe
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Any way to get the value days since 30 Dec 1899

Post by mcrossley »

I am interested in the software you are using for the all sky cam to produce the overlay. I have a camera I intended to set up (QHY5) and a cheap fisheye lens but never found the time to really get it going.
jrichert
Posts: 31
Joined: Mon 12 Oct 2009 5:42 pm
Weather Station: Davis Vantage Pro 2
Operating System: VMware esxi4, XP Pro SP3, W7
Location: Bos-cha, Switzerland
Contact:

Re: Any way to get the value days since 30 Dec 1899

Post by jrichert »

The SW only supports TIS (The Imaging Source) Cameras...
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: Any way to get the value days since 30 Dec 1899

Post by sfws »

(deleted)
Last edited by sfws on Mon 03 Aug 2015 11:26 am, edited 1 time in total.
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Any way to get the value days since 30 Dec 1899

Post by mcrossley »

Yes it does.
The 1899 base date is used by spreadsheets - I believe due to an error in the early days in thinking 1900 was a leap year, so they had to take 1 day off the normal 1900 base date to compensate when the error was discovered :bash:
jrichert
Posts: 31
Joined: Mon 12 Oct 2009 5:42 pm
Weather Station: Davis Vantage Pro 2
Operating System: VMware esxi4, XP Pro SP3, W7
Location: Bos-cha, Switzerland
Contact:

Re: Any way to get the value days since 30 Dec 1899

Post by jrichert »

Hi Mark

Any news about the html tag? Can you add this feature in the next beta version?

Many thanks

Joe
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Any way to get the value days since 30 Dec 1899

Post by steve »

Any news about the html tag? Can you add this feature in the next beta version?
It's in build 1055.
Steve
Post Reply