Skip to content
This repository was archived by the owner on May 4, 2020. It is now read-only.

Commit 03db9d7

Browse files
authored
Update dates.py
1 parent cf89aa8 commit 03db9d7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

students/xlrd/dates.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
book = open_workbook('types.xls')
55
sheet = book.sheet_by_index(0)
6+
import math
67

78
date_value = xldate_as_tuple(sheet.cell(3,2).value,book.datemode)
89
print datetime(*date_value),date(*date_value[:3])

0 commit comments

Comments
 (0)