2010-11-22, 06:58 AM
The column "date_added" holds the time the record was inserted in unix epoch format. Which query would I use to select rows that were inserted today (the day the query is run), since midnight? I found a few tutorials online, but they all require the date to be stored in YYYY-MM-DD format, which is frankly a dumb way of storing dates.
The best I can get is number of rows inserted in the last 24 hours, but that's useless to me.
Thanks!
The best I can get is number of rows inserted in the last 24 hours, but that's useless to me.
Thanks!