datetime
datetime — Basic date and time types
Source code: Lib/datetime.py
The datetime
module supplies classes for manipulating dates and times in both simple and complex ways. While date and time arithmetic is supported, the focus of the implementation is on efficient attribute extraction for output formatting and manipulation. For related functionality, see also the time
and 登录查看完整内容