<li><strong>Module 'datetime' provides 'date' <codeclass="apache hljs"><spanclass="hljs-section"><D></span></code>, 'time' <codeclass="apache hljs"><spanclass="hljs-section"><T></span></code>, 'datetime' <codeclass="apache hljs"><spanclass="hljs-section"><DT></span></code> and 'timedelta' <codeclass="apache hljs"><spanclass="hljs-section"><TD></span></code> classes. All are immutable and hashable.</strong></li>
<li><strong>Time and datetime can be 'aware' <codeclass="apache hljs"><spanclass="hljs-section"><a></span></code>, meaning they have defined timezone, or 'naive' <codeclass="apache hljs"><spanclass="hljs-section"><n></span></code>, meaning they don't.</strong></li>
<li><strong>If object is naive it is presumed to be in system's timezone.</strong></li>
<li><strong>If object is naive it is presumed to be in the system's timezone.</strong></li>
</ul><pre><codeclass="python language-python hljs"><spanclass="hljs-keyword">from</span> datetime <spanclass="hljs-keyword">import</span> date, time, datetime, timedelta