时间 time 快速计算当前时刻距离整点 整分钟的 毫秒数

版权声明:此文乃鄙人辛辛耕耘制作,饮其流者怀其源,请标明出处,跪谢!!! https://blog.csdn.net/CSDN_LJie/article/details/86506451
分钟对60求余,整小时对3600求余
整分钟时间戳 = 当前时间戳 - 当前时间戳%60000
整小时时间戳 = 当前时间戳 - 当前时间戳%3600000

猜你喜欢

转载自blog.csdn.net/CSDN_LJie/article/details/86506451