For debugging, print date.getTime()