Hi@akhtar,
You can use the DateTime module to insert a date into MySql. Use the below-given code in your program.
import datetime
a = datetime.datetime.strptime('my date', "%b %d %Y %H:%M")
cursor.execute('INSERT INTO myTable (Date) VALUES(%s)', (a.strftime('%Y-%m-%d %H:%M:%S'),))