如何判断当前时间是否为整点

请问,得到系统当前时间后,如13:23,如何判断该时间是否为整点呢?(无需精确到秒)

首先取出你的分钟数,然后判断是不是等于0或者00

谢谢解答

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.