how to get date less than current date in sql code example Example: where date major today mysql SELECT * FROM users WHERE created >= CURRENT_TIMESTAMP;