|
|
@ -484,7 +484,7 @@ shuffle(<list>) |
|
|
|
<DTa> = DT.now(<tz>) <span class="hljs-comment"># Aware datetime from current tz time.</span> |
|
|
|
</code></pre> |
|
|
|
<h3 id="timezone">Timezone</h3> |
|
|
|
<pre><code class="python language-python hljs"><tz> = UTC <span class="hljs-comment"># UTC timezone.</span> |
|
|
|
<pre><code class="python language-python hljs"><tz> = UTC <span class="hljs-comment"># UTC timezone. London without DST.</span> |
|
|
|
<tz> = tzlocal() <span class="hljs-comment"># Local timezone.</span> |
|
|
|
<tz> = gettz(<span class="hljs-string">'<Cont.>/<City>'</span>) <span class="hljs-comment"># Timezone from 'Continent/City_Name' str.</span> |
|
|
|
</code></pre> |
|
|
|