python日期转换

由字符串格式转化为日期格式的函数为: x.strptime(string[,format])

由日期格式转化为字符串格式的函数为: now.strftime(format[, t])

你可能感兴趣的:(python日期转换)