is there any possible to get the infinty time value in milliseconds? that is i set that time delay value must be shows the window when the user close the application? any idea?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your question is quite vague, but I’ll try to answer it anyway.
Milliseconds are usually represented using values of type
long. There is no way to let alongvalue represent infinity. However, theLong.MAX_VALUEequals 9223372036854775807, which, if interpreted as milliseconds, corresponds to 292471208 yeas. Perhaps that’s long enough for you? 🙂