Fixed time conversion bug for 32-bit Linux platform.