from datetime import datetime


def _unix_timestamp_to_wayback_timestamp(unix_timestamp):
    """Returns unix timestamp converted to datetime.datetime

    Parameters
    ----------
    unix_timestamp : str, int or float
        Unix-timestamp that needs to be converted to datetime.datetime

    Converts and returns input unix_timestamp to datetime.datetime object.
    Does not matter if unix_timestamp is str, float or int.
    """

    return datetime.utcfromtimestamp(int(unix_timestamp)).strftime("%Y%m%d%H%M%S")