从新浪挖来的
<script>
function getLocTime(nS) {
    return new Date(parseInt(nS) * 1000).toLocaleString().replace(/年|月/g, " - ").replace(/日/g, " ");
}
alert(getLocTime(1177824835));
</script>

相关文章:

  • 2021-11-28
  • 2022-12-23
  • 2021-11-30
  • 2021-11-28
  • 2021-09-30
  • 2021-12-03
  • 2021-11-28
  • 2021-12-01
猜你喜欢
  • 2022-12-23
  • 2021-11-28
  • 2021-09-11
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案