title: MilliSec To Date C++
body: <p>I have a java program which makes a JNI call. From java, I am sending Date.getTime() (basically seconds * 1000), and I expect C++ to convert it to a perfect date.</p>
  
  <p>NOT DUPLICATE: I KNOW MANY SOLUTIONS EXIST ON STACKOVERFLOW, BUT NONE OF THEM SEEM TO WORK WITH DATES SINCE 01-01-0001</p>
  
  <p>I need the dates to get perfectly generated, for as early as 01-01-0001 00:00:00.</p>
  
  <p>Any clue or code snippet in C++?</p>