4 byte timestamp java

Solutions on MaxInterview for 4 byte timestamp java by the best coders in the world

showing results for - "4 byte timestamp java"
Nicola
04 Aug 2017
1int dateInSec = (int) (System.currentTimeMillis() / 1000);
2byte[] bytes = ByteBuffer.allocate(4).putInt(dateInSec).array();
3
similar questions
queries leading to this page
4 byte timestamp java