calendar
import time
import calendar
print('*'*50+str(time.time())+'*'*50)
print(time.localtime(time.time()))
print(time.asctime(time.localtime(time.time())))
print('1')
print('*'*50+time.asctime(time.localtime(time.time()))+'*'*50)
print('2')
print('*'*40+time.strftime('%Y-%m-%d %H:%M:%S',time.localtime())+'*'*40)
print('3')
a = 'Wed Aug 19 20:28:11 2020'
# print('*'*50+time.mktime(time.strftime(a,'%a %b %d %H:%M:%S %Y'))+'*'*50)
cal = calendar.month(2020,9)
# print(cal)
print('date -s \"'+time.strftime('%Y-%m-%d %H:%M:%S', time.localtime())+'\"')
print(time.strftime('%Y-%m-%d %H:%M:%S', time.localtime()))
print(type(time.localtime()))
@2310