【分享】时间以几分钟、几小时前、几天前等时间差显示的js函数
<script> function jsDateDiff(publishTime){ var d_minutes,d_hours,d_days; var timeNow = parseInt(new Date().getTime()/1000); var d; d = tim...
<script> function jsDateDiff(publishTime){ var d_minutes,d_hours,d_days; var timeNow = parseInt(new Date().getTime()/1000); var d; d = tim...