Bob
I was looking at
http://aspn.activestate.com/ASPN/docs/ActivePython/2.4/pywin32/PyTime.html
To my untrained eye it looks like there are a number of functions for
PyTime objects (eg __int__, __hash__ etc). However, I tried int(curr_date)
and it seems to work OK - thanks!
At 19:11 17/05/20
Etrade Griffiths wrote:
> Hi
>
> I am using the Win32com library to pick up data from an EXCEL spreadsheet
> but am having trouble with dates. I want to convert a date read from the
> XL sheet into a float using this snippet
>
> from win32com.client import dispatch
> import time
>
> xlFile="test
Hi
I am using the Win32com library to pick up data from an EXCEL spreadsheet
but am having trouble with dates. I want to convert a date read from the
XL sheet into a float using this snippet
from win32com.client import dispatch
import time
xlFile="test.xls"
xlApp=Dispatch("Excel.Application")