-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, 23 Dec 2024 12:04:09 -0800 (PST)
Paul <
emili...@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-----