codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Datediff – Find records where data > 24 hours old

    30th May 2014

    MySql

    mysql codehaven category

    ‘added’ is the column name that has timedate

    You can also use this (Deletes all records that are older than 31 days)

    and if depending on a column value

    Was this code snippet helpful?