我需要一个函数,它给我从午夜过了几秒钟.我目前正在使用,System.currentTimeMillis()但它给了我像UNIX一样的时间戳.
System.currentTimeMillis()
如果我能得到毫秒,这对我来说是一个奖励.
java time
java ×1
time ×1