Improvement for DateTime-UnixTime conversion.