This should work:
SELECT *
FROM USERS
WHERE
DATE_FORMAT(FROM_UNIXTIME(birthDate),'%m-%d') = DATE_FORMAT(NOW(),'%m-%d')
More Related Contents:
- MySQL convert date string to Unix timestamp
- Should I use the datetime or timestamp data type in MySQL?
- How to get the difference between two timestamps in seconds
- Why there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT clause?
- Timestamp with a millisecond precision: How to save them in MySQL
- Group mysql query by 15 min intervals
- How to select rows that have current day’s timestamp?
- MySql difference between two timestamps in days?
- Convert Unix timestamp into human readable date using MySQL
- MySQL CURRENT_TIMESTAMP on create and on update
- Calculating time difference between 2 dates in minutes
- When is a timestamp (auto) updated?
- MySQL column type “TIMESTAMP” implicitly includes “NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP”
- How do I alter a mysql table column defaults?
- Xampp-mysql – “Table doesn’t exist in engine” #1932
- Unserialize through query at database level itself
- Detecting utf8 broken characters in MySQL
- How can I stop a MySQL query if it takes too long?
- MySQL throws Incorrect string value error
- “General error: 1005 Can’t create table” Using Laravel Schema Build and Foreign Keys
- Equivalent of MSSQL IDENTITY Column in MySQL
- #1060 – Duplicate column name ‘id’
- Count duplicates records in Mysql table?
- Update multiple rows with multiple ‘where’ clauses for each individual row
- ORDER BY alphabet first then follow by number
- django cannot connect mysql in docker-compose
- WHERE datetime older than some time (eg. 15 minutes)
- mysql create table dynamically
- Is there a way to use ON DUPLICATE KEY to Update all that I wanted to insert?
- Errno 121, duplicate key on write or update?