Select Records Less Than 24 Hours Old


/ Published in: SQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. WHERE your_date_field >= DATE_SUB(Now(),INTERVAL 24 HOUR)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.