dateTime is epoch time
interval typically is your archive interval (typically 5 minutes but some 
folks/stations set theirs differently)

On Monday, October 25, 2021 at 8:49:39 AM UTC-7 [email protected] wrote:

> I have just exported my weewx archive into a csv file; all seems in order, 
> except that the dates are in internal weewx format, which needs to be 
> converted to my own preferred format (which is, for this moment, 2021-10-25 
> 08:36).  How is the conversion made?  
>
> If a formula isn't handy, one can be easily derives using the key numbers 
> of the weewx dating system:  Dates similar to weewx internal dates, are 
> expressed in terms of an *epoch*, time zero in some generally known 
> dating system, and an *interval*, the time represented by a change of one 
> unit in the internal dating system. In Unix
> the epoch is 00:00:00 UTC on 1 January 1970
> and the interval is 1 second.
> What are the epoch and interval for weewx internal dates?
>
> -- 
>
> Sincerely Jonathan Ryshpan <[email protected]>
>
>       Fiat justitia, ruant coelis!
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c9325be8-7e7b-4c80-9eb5-f7bc097d461an%40googlegroups.com.

Reply via email to