-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 23 Dec 2024 12:04:09 -0800 (PST) Paul <emilio.o...@gmail.com> wrote:
> > **** Invalid 'Time' field. Cannot convert '05 Dec 2024 00:00' to > > timestamp. **** Nothing done, exiting. Just guessing here: Your *.csv timestamps are not what SQL expects. Try something like this: > python >>> import datetime >>> FMT_IN = '%d %b %Y %H:%S' >>> time_stamp = '05 Dec 2024 00:00' >>> datetime.datetime.strptime(time_stamp, FMT_IN).isoformat(sep=' ') '2024-12-05 00:00:00' >>> quit() - -- .. Be Seeing You, .. Chuck Rhode, Sheboygan, WI, USA .. Weather: https://LacusVeris.com/Wx .. 34° — Wind NW at 3 mph. Sky overcast; snow; fog. -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQT+MY/5I/LMPSswTbVg2/xipKOWUgUCZ2nX4gAKCRBg2/xipKOW UmQMAJ4sm+CRzpSEpek+0UQ9jGo/MwUGhQCfbnaCkTc3rWUX0zPyemoWdWkt2jg= =Nr6+ -----END PGP SIGNATURE----- -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/20241223153633.2700eee4%40BigTimber.LacusVeris.com.