Python Forum
How to format a datetime MySQL database field to local using strftime()
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to format a datetime MySQL database field to local using strftime()
#2
strftime() method is used to create a str representation of date, datetime or time object. In your case visit is already a str. And str does not have strftime method
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
How to make bottle-pymysql work - by nikos - Feb-24-2019, 04:41 PM
RE: How to make bottle-pymysql work - by buran - Feb-24-2019, 04:42 PM
RE: How to make bottle-pymysql work - by nikos - Feb-24-2019, 04:43 PM
RE: How to make bottle-pymysql work - by buran - Feb-24-2019, 04:48 PM
RE: How to make bottle-pymysql work - by nikos - Feb-24-2019, 04:56 PM
RE: How to make bottle-pymysql work - by nikos - Feb-24-2019, 06:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  User Input to mySQL database newbie1 3 4,193 Aug-26-2020, 10:42 AM
Last Post: newbie1
  Flask export/upload database table in cvs/xlsx format steve87bg 4 6,857 Jun-19-2020, 01:46 PM
Last Post: steve87bg
  MySQL Database Flask maurosmartins 0 1,823 Oct-03-2019, 10:56 AM
Last Post: maurosmartins
  mysql database error brecht83 1 5,025 Dec-14-2018, 01:25 PM
Last Post: jeanMichelBain

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020