[egenix-users] Re: [egenix-support] Difference between two times
eGenix Support: Charlie Clark
support at egenix.com
Thu Jul 5 17:41:21 CEST 2007
Am 05.07.2007, 16:27 Uhr, schrieb Brian <spiffytech at gmail.com>:
> That saves me a lot of trouble! But is there a way to put the time in
> with a
> colon instead of a comma ( Time(12:30)? I tried simply entering that and
> received the following error:
> File "<stdin>", line 1
> d = Time(3:30)
Dear Brian,
have you looked at the documentation? Apart from the fact that it is easy
in Python to turn '12:30' into a tuple there is DateTimeFromString in the
mx.DateTime module.
Sincerely
Charlie Clark
--
Charlie Clark
eGenix.com
Professional Python Services directly from the Source
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
More information about the egenix-users
mailing list