SQL
MySQL DATEDIFF() Function
Return the number of days between two date values: