+ 17
import datetime now = datetime.datetime.now() print( now.year, now.month, now.day, now.hour, now.minute, now.second)
21st Oct 2017, 9:59 AM
P R
P R - avatar