How to compare date when its save as data type text in database

  • home
  • /
  • WordPress
  • /
  • How to compare date when its save as data type text in database

MySQL offers a “STR_TO_DATE” function to convert a date string to date

*It is not recommended to insert dates into MySQL as text.

  • Share:

Leave a Comment

sing in to post your comment or sign-up if you dont have any account.

twelve + four =

This site uses Akismet to reduce spam. Learn how your comment data is processed.