ayi <p>How can I convert an Excel date (in a number format) to a proper date in Python?</p> <hr> <p><em>Source : <a href="http://pypi.python.org/pypi/xlrd" rel="noopener nofollow ugc">Stack Overflow</a>.)</em></p>
ayi_2 <p>You can use <a href="http://pypi.python.org/pypi/xlrd">xlrd</a>.</p> <p>From its <a href="https://xlrd.readthedocs.io/en/latest/index.html">documentation</a>, you can read that dates are always stored as numbers; however, you can use <a href="https://xlrd.readthedocs.io/en/latest/api.html#xlrd.xldate.xldate_as_tuple"><code>xldate_as_tuple</code></a> to convert it to a python date.</p> <p>Note: the version on the PyPI seems more up-to-date than the one available on xlrd’s website.</p>