Use System.currentTimeMillis instead of Date