map

来源:互联网 发布:软件无线电 军用 编辑:程序博客网 时间:2024/06/03 18:43

map

zip

filter

时间戳,结构化时间,字符串格式化时间

第十三章

关于时间的格式查看pycharm修正

strftime(...)    strftime(format[, tuple]) -> string    Convert a time tuple to a string according to a format specification.    See the library reference manual for formatting codes. When the time tuple    is not present, current time as returned by localtime() is used.    Commonly used format codes:    %Y  Year with century as a decimal number.    %m  Month as a decimal number [01,12].    %d  Day of the month as a decimal number [01,31].    %H  Hour (24-hour clock) as a decimal number [00,23].    %M  Minute as a decimal number [00,59].    %S  Second as a decimal number [00,61].    %z  Time zone offset from UTC.    %a  Locale's abbreviated weekday name.    %A  Locale's full weekday name.    %b  Locale's abbreviated month name.    %B  Locale's full month name.    %c  Locale's appropriate date and time representation.    %I  Hour (12-hour clock) as a decimal number [01,12].    %p  Locale's equivalent of either AM or PM.    Other codes may be available on your platform.  See documentation for    the C library strftime function.
原创粉丝点击