$threedays = 3 * 86400;if ($thread['test'] < $threedays) {$thread['thread_expiry'] = "less than three days";}