<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def to_datetime(timestamp):
 """Return datetime object from timestamp."""

    return dt.fromtimestamp(time.mktime(
        time.localtime(int(str(timestamp)[:10]))))