-1

I am getting this error time data 2020-07-09T00:00:00+05:30 does not match format yyyy-MM-dd'T'HH:mm:ssZ please help

FObersteiner
  • 22,500
  • 8
  • 42
  • 72
  • 3
    Please give us the minimal amount of your code needed to reproduce the error. – kol Jul 22 '20 at 10:09
  • use `datetime.fromisoformat('2020-07-09T00:00:00+05:30')`. `“yyyy-MM-dd'T'HH:mm:ssZ”` is not a valid format string; check out https://strftime.org/. – FObersteiner Jul 22 '20 at 10:10
  • 3
    Welcome to Stack Overflow. You might want to read [how to ask a good question](https://stackoverflow.com/help/how-to-ask). In this case it would help if you post a [mre] and the complete stacktrace. – wovano Jul 22 '20 at 10:12
  • Related: https://stackoverflow.com/q/63030181/10197418 – FObersteiner Jul 22 '20 at 12:10

1 Answers1

1
datetime.datetime.fromisoformat('2020-07-09T00:00:00+05:30')
Rorepio
  • 332
  • 1
  • 4
  • 16