From f26fddbc9b8d2ff6fbac4eb44fa58fcca86ff7b3 Mon Sep 17 00:00:00 2001 From: Tom Keffer Date: Sat, 25 Mar 2017 05:41:42 -0700 Subject: [PATCH] Details on unix epoch time. --- docs/usersguide.htm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/usersguide.htm b/docs/usersguide.htm index dd99d851..eea4044e 100644 --- a/docs/usersguide.htm +++ b/docs/usersguide.htm @@ -3063,8 +3063,9 @@ sqlite3 /home/weewx/archive/weewx.sdb sqlite> delete from archive where dateTime > X; sqlite> .exit -

The timestamp X is the current time as unix epoch (number of seconds - since 1 January 1970), or a time a minute or two in the future.

+

The timestamp X is the current time in unix epoch time (number of seconds + since 1 January 1970). This website + is useful for determining the current unix epoch time.

Corrupt station memory

If you have a Vantage station, the problem might be because the data on @@ -3073,7 +3074,7 @@ sqlite> .exit asks the console for all archive data "since" some time. The console then downloads the records one at a time. After it gets to the very last one, the memory wraps around, and the timestamp will suddenly - jump backwards in time a couple weeks — this how the software + jump backwards in time a couple weeks — this is how the software knows it has downloaded the last record and so it stops.

However, if the internal memory gets garbled, the console will immediately