This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi, I need to run a thread every 4 hours from GMT. This application can run from any Time zone (thats why GMT is preferred.) When the application starts i can do the processing and i need to set the sleep value of the thread. i am not able to to calculate the remaining milliseconds from the current time to the next scheduled time in GMT so that i can make set the thread to sleep for that particulcar period of time. Please help.