def convert_timestamp_to_datetime(timestamp):
    import datetime as dt
if timestamp >= 0:
    return dt.datetime.fromtimestamp(timestamp)
else:
    pass
On Windows, how to convert a timestamps BEFORE 1970 into something manageable?