mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
use currentTimeMillis() for time
Everybody else does....
This commit is contained in:
parent
17f27a1b65
commit
9fd4a90ccd
1 changed files with 1 additions and 1 deletions
|
@ -443,7 +443,7 @@ public class Utils {
|
|||
{
|
||||
// Note: an int is big enough for *seconds* (not milliseconds) since 1970
|
||||
// until 2038
|
||||
long millis = new Date().getTime();
|
||||
long millis = System.currentTimeMillis();
|
||||
int result = (int)(millis / 1000);
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue