Java – what is the value of a week?

I want to use two long values, system Currenttimemillis() is compared with the pre - recorded long

I want to see if it's bigger - less than or equal to one week

But what is the value of a week?

Solution

If we are talking about milliseconds, then Google has the answer for us

604800000 MS

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>