https://www.delphisource.com/teradata-sql-date-format-in-where-clause/