Mistři v programování na #hovnokod

PHP #2518

I don't even ...

static function time2date($time = false) {
	if($time===false) $time = time();
	$ONE_DAY = 1;
	return floor($time/$ONE_DAY);
}

Anonymous,