log(strtotime($date))/100感觉不好
回复内容:
要对数据排序,其中有个时间和状态分别有权重值,需将时间戳转为0到1之间的数字log(strtotime($date))/100感觉不好
用sigmoid函数:
$w可以根据需要调整。