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

Commit 8e6f464

Browse files
authored
Merge pull request #7 from DHRUV536/master
Update dates.py
2 parents cf89aa8 + 03db9d7 commit 8e6f464

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)