SQL check if date is older than today code example Example: where date major today mysql SELECT * FROM users WHERE created >= CURRENT_TIMESTAMP;