I am getting UNIX Timestamp as "1383889129". The ONLINE string to hex
conversion gives me "31 33 38 33 38 38 39 31 32 39" which is 10 bytes
but I wish to have only 8 bytes.
There are three main ways to express a `double` value as a string of hex
digits:
A) Express the value in decimal, express each character of that as two
hex digits.
B) Use the hexadecimal conversion of C99/C++11. Compiler support for the
C++ level is still sketchy. But using e.g. printf, this expresses the
value directly but not uniquely in the base 16 system.
C) Cast the value to unsigned integer of sufficient number of bits,
express that integer value in hex.
The common convention, e.g. for Mathematica, seems to be (C), while you
appear to have employed (A).
Cheers & hth.,
- Alf