human
Write me a Python code to get date from epoch timestamp.
assistant
Here is a Python code to get date from epoch timestamp

import datetime

def get_date(timestamp):
    """
    Get date from epoch timestamp

    :type timestamp: datetime
    :param timestamp: Epoch timestamp
    """

    return timestamp.date()

# Enter the timestamp
timestamp = datetime.datetime.now()

# Calling the function
print((get_date(timestamp)))

#Example Output
# 2023-01-16

#Remember to inspect code for bugs.