How to insert date object in MySQL using Python?
Answers
Answered by
1
To insert a date in a MySQL database, you need to have a column of Type date or datetime in your table. Once you have that, you'll need to convert your date in a string format before inserting it to your database. To do this, you can use the datetime module's strftime formatting function.
beautygirll56:
yeah
Similar questions
English,
7 months ago
Computer Science,
7 months ago
Computer Science,
1 year ago
Math,
1 year ago
Physics,
1 year ago