js只显示整点

new Date(new Date().toLocaleDateString()).getTime()
原文地址:https://www.cnblogs.com/lyt520/p/14679849.html