核心方法:strftime()strftime()方法是datetime对象的一个内置方法,它的全称是"stringformattime"(字符串格式化时间),它可以将一个datetime对象根据指定的格式代码,格式化为一个...