mysql number of minutes between two dates code example
Example: mysql time ago difference
#Need item created 12 hours ago or newer. Discards older than 12 hours
created_at >= (NOW() - INTERVAL 12 HOUR)
#Need item created 12 hours ago or newer. Discards older than 12 hours
created_at >= (NOW() - INTERVAL 12 HOUR)