I need to select entries which has been edited within the last 24 hours.
I found this query:
{exp:query sql="SELECT * from exp_weblog_titles WHERE entry_date > ((unix_timestamp(Now()))-(7*86400))"}
{entry_id} {title}
{/exp:query}But realised that I can’t use it on edit_date because it is stored in another time format, not the unix-timestamp.
I think it must be possible to use the second count where 86400 = 24 hours, but my Sql my skills are not good enough to build a query. 😖
Kind regards
Ole