I have a variable v and when I do
print type(v)
I do get
<type 'DateTime'>
but when I do
if type(v) in (datetime, datetime.date, datetime.datetime, datetime.time):
it is NOT true
The question is: Why ?
EDIT:
The type DateTime is a Spotfire specific type.