Are you trying to create timestamp?
In the print part you must use ()
You need to import strftime() to get the actual data and declare the variables in the correct format. ('%d/%m/%Y/%H/%M/%S') and declare timetupple() to make the ts. #Day,Month[with minuscule 'm' to represent the month],Year,Hour,Minutes,Seconds.
You will get a .float string something like ('37136381293.0') Then you need to regex the '.0' part. and convert it to INT via 'int()'.. User mktime with your date time and the date time that you need to create.
Thanks in advanced.
import time,datetime
from time import strftime
p = strftime('%d/%m/%Y/%H/%M/%S')
i5 = str((time.mktime(datetime.datetime.strptime(p,'%d/%m/%Y/%H/%M/%S').timetuple())))
i1 = '\d*'
i2 = re.compile(i1)
i3 = re.findall(i2,i5)
i4 = i3[0]