mysql time difference in minutes betwen a field and now 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)