Java obtenga una marca de tiempo de Unix
long unixTime = System.currentTimeMillis() / 1000L;
Concerned Corncrake
long unixTime = System.currentTimeMillis() / 1000L;
System.currentTimeMillis() / 1000L;