获取当前日期:
from datetime import datetime IN:datetime.now() OUT:datetime(2016,10,19,6,51,21,72341) 转化为字符串显示: str(datetime.now)
http://stackoverflow.com/questions/415511/how-to-get-current-time-in-python
时间: 2024-10-24 15:38:26
获取当前日期:
from datetime import datetime IN:datetime.now() OUT:datetime(2016,10,19,6,51,21,72341) 转化为字符串显示: str(datetime.now)
http://stackoverflow.com/questions/415511/how-to-get-current-time-in-python