<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Time on Colben Notes</title>
    <link>https://www.809508860.xyz/tags/time/</link>
    <description>Recent content in Time on Colben Notes</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Wed, 30 Oct 2019 17:49:27 +0800</lastBuildDate>
    <atom:link href="https://www.809508860.xyz/tags/time/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Python 的 time 模块</title>
      <link>https://www.809508860.xyz/post/python-time/</link>
      <pubDate>Wed, 30 Oct 2019 17:49:27 +0800</pubDate>
      <guid>https://www.809508860.xyz/post/python-time/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;时间戳: 相对1970.1.1 00:00:00计算的秒数&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;struct_time: year(2015) month(1-12) day(1-31) hours(0-23) minutes(0-59) seconds(0-59) weekday(0-6,Monday is 0) julian day(day in the year,1-366) DST flag(-1,0,1)&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;time.asctime([tuple]) #把struct_time 转成字符串&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;time.clock() #第一次调用返回程序运行的实际时间，后面调用返回与第一次调用的时间间隔&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
