title: Getting Date Time in Unix Time as Byte Array which size is 4 bytes with Java
body: <p>How Can I get the date time in unix time as byte array which should fill 4 bytes space in Java?</p>
  
  <p>Something like that: </p>
  
  <pre><code>byte[] productionDate = new byte[] { (byte) 0xC8, (byte) 0x34,
                      (byte) 0x94, 0x54 };
  </code></pre>