<filename>python_api/getTime.py<gh_stars>0
import datetime

x = datetime.datetime.now()

y = x.year
m = x.month
d = x.day
h = x.hour
m = x.minute
s = x.second
print(str(y)+str(m)+str(d)+str(m)+str(m)+str(s))


<filename>python_api/getTime.py<gh_stars>0
import datetime

x = datetime.datetime.now()

y = x.year
m = x.month
d = x.day
h = x.hour
m = x.minute
s = x.second
print(str(y)+str(m)+str(d)+str(m)+str(m)+str(s))

