public static String getHexCurrentTimeUnix4byte() { String six = Long.toHexString(System.currentTimeMillis()/1000); String zero = ""; for (int i = 0; i < 8; i++) { if (six.length() < 8) { zero += "0"; } } return zero + six; }
获取当前16进制的4字节UNIX时间戳
最新推荐文章于 2024-03-20 16:30:54 发布