学习笔记(13):Python 面试100讲(基于Python3.x)-如何分别获取当前日期的年月日以及在一年中的第几天...

立即学习:https://edu.csdn.net/course/play/26755/340170?utm_source=blogtoedu

通过time.localtime函数可以直接获取详细的时间信息,是一个time.struct_time类

发布了17 篇原创文章 · 获赞 0 · 访问量 176

猜你喜欢

转载自blog.csdn.net/weixin_43745945/article/details/104248920