import time


def convert_time_stamp(time_stamp):
    """
    Convert a unix time stamp into date and time.

    Args:
        time_stamp(int): Unix time stamp

    Returns:
        str: Date and time
    """

    if isinstance(time_stamp, int):
        ti = time.localtime(time_stamp)
        if len(ti) > 5:
            formatted_time = '{:0>2}'.format(ti[2]) + '/' +\
                             '{:0>2}'.format(ti[1]) + '/' + str(ti[0]) + ' ' +\
                             '{:0>2}'.format(ti[3]) + ':' +\
                             '{:0>2}'.format(ti[4]) + ':' +\
                             '{:0>2}'.format(ti[5])
        else:
            formatted_time = 'no time/date'
    else:
        formatted_time = 'no time/date'

    return formatted_time