We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf89aa8 commit 03db9d7Copy full SHA for 03db9d7
students/xlrd/dates.py
@@ -3,6 +3,7 @@
3
4
book = open_workbook('types.xls')
5
sheet = book.sheet_by_index(0)
6
+import math
7
8
date_value = xldate_as_tuple(sheet.cell(3,2).value,book.datemode)
9
print datetime(*date_value),date(*date_value[:3])
0 commit comments