G
G
Galdar Turin2020-07-31 18:13:31
MySQL
Galdar Turin, 2020-07-31 18:13:31

How to solve a problem with writing a date in MySQL?

I write the date to the database, but when writing, it gives an error with the date , maybe someone encountered such a problem, tried different recording formats (only date, date and time, and separately write year month year in the line)
new Date().toISOString()
5f2434d0bc4ef558238062.png

5f243506108d5368563909.png


Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2020-07-31
@Galdar

Z is extra at the end. MySQL does not understand the timezone specification.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question