xlsx date type

84 views
Skip to first unread message

Edwin Knuth

unread,
Jan 20, 2011, 2:05:19 PM1/20/11
to python-excel
Hello!

I'm working on some code that reads spreadsheets and outputs text.
For xls files I can check the ctype of the cell to determine if it is
a date. However with cells in xlsx files I am getting a unicode
object and can't seem to reference the ctype.

I found some traffic in this group saying that it is difficult to
recognize date formatted cells, but nothing specific. I would
appreciate any guidance the group may have.

Thanks!
Edwin Knuth

John Machin

unread,
Jan 20, 2011, 2:29:21 PM1/20/11
to python-excel


On Jan 21, 6:05 am, Edwin Knuth <ekn...@gmail.com> wrote:
> Hello!
>
> I'm working on some code that reads spreadsheets and outputs text.
> For xls files I can check the ctype of the cell to determine if it is
> a date.  However with cells in xlsx files I am getting a unicode
> object and can't seem to reference the ctype.

Please consider supplying some essential information: what software
are you using to read xlsx files?
Reply all
Reply to author
Forward
0 new messages