python ==module 'datetime' has no attribute 'strptime'

    xiaoxiao2022-12-06  59

    示例:

    datetime.datetime.strptime(string, "%Y-%m-%d %H:%M:%S")

     

    换成时分秒格式,数据库存储为datetime格式

    最新回复(0)