Sorry for wrong post.
I have a string Timestamp of 1383889129 which on ONLINE conversion from string to hex gives a 10 bytes as "31 33 38 33 38 38 39 31 32 39".
But, the need is to have the TIMEStamp in 8 bytes only.
OR any other way using either C++ or Boost where I can convert the string Timestamp of 1383889129 into 8 bytes hex value.