human
Can you show me a Python code to epoch to gmt datetime 3.
assistant
Here is a Python code to epoch to gmt datetime 3 years

import datetime

def epoch_to_gmt(date):
    """Returns the datetime object in GMT format."""

    return datetime.datetime.strptime(date, "%Y-%m-%d %H:%M:%S")

# Enter the date
date = "2019-01-01 00:00:00"

# Calling the function
print((epoch_to_gmt(date)))

#Example Output
# 2019-01-01 00:00:00

#Remember to inspect code for bugs.