我将JSON对象的输出保存在CSV文件中。我想将数据导入到SQL Server中。我曾尝试将JSON date列转换为SQL Server datetime数据类型。select cast('2009-06-18T16:44:20+0000' as datetime)
这会引发错误:从字符串转换日期和/或时间时转换失败。如何将带有时区的JSON日期转换
我使用python在欧洲/伦敦时区创建一个datetime值:from pytz import timezone, utc
now_uk = now_utc.astimezone(timezone('Europe/London')) # convert to local time
然后,我希望使用pyt