Thread: How To?
View Single Post
Old 03-12-2014, 02:02 PM  
ottopottomouse
She is ugly, bad luck.
 
ottopottomouse's Avatar
 
Industry Role:
Join Date: Jan 2010
Posts: 13,177
Code:
	if ($newestposttime && ($now - abs(strtotime($newestposttime)) > ($options['days'] * 86400))) {
86400 is seconds in a day

change it to 43200 for it to think a day is 12 hours long and it will run twice a day if you put 1 in the days box.
__________________
↑ see post ↑
13101
ottopottomouse is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote