View Full Version : How do I find threads created in certain time period?
seaweed
02-03-2012, 01:20 AM
Im trying to find All threads created in a certain month, Can this product do this?
If so how?:confused:
tia
seaweed
tonjohn
02-03-2012, 02:25 AM
Yes.
You can run your own query like:
SELECT t.*
FROM thread t
WHERE t.dateline >= unix_timestamp(START_OF_MONTH) AND t.dateline < unix_timestamp(END_OF_MONTH)
Eslob
02-04-2012, 07:36 AM
tonjohn,
this query posted in cp?
or in phpmyadmin?
tonjohn
02-05-2012, 05:29 PM
You can either go to the admincp -> maintenance ->execute sql query OR you can do it in phpmyadmin.
Here is the actual query to select all threads created in January 2012:
SELECT t.*
FROM thread t
WHERE t.dateline >= unix_timestamp('2012-01-01') AND t.dateline < unix_timestamp('2012-02-01')
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.