Inspectopedia
 
2024.3

Ill-formed date/time literals

Warning
New
Last modified: 03 December 2024

Reports errors in date and time literals. This inspection is available in MySQL, Oracle, Db2, and H2.

Example (MySQL):

In this example, dates ignore the MySQL standard for date and time literals. Therefore, they will be highlighted. For more information about date and time literals in MySQL, see Date and Time Literals at dev.mysql.com.

The following date and type literals are valid for MySQL.