datetime.datatime.fromtimestamp(next_unix) for python 3.6 code example
Example 1: python datetime now
import datetime
print(datetime.datetime.now()) #datetime.datetime.now() is the syntax
Example 2: python datetime from timestamp utc
dt_object = datetime.fromtimestamp(timestamp)