On Tue, 05 Aug 2008 02:25:34 -0700, Will Rocisky wrote:

> Actually I am trying to save both date and time in one cell but they are
> given separately by user.

What's a "cell"?

I suggest building a datetime.datetime() object:

>>> date = datetime.date(2008, 8, 5)
>>> time = datetime.time(19, 54)
>>> datetime.datetime.combine(date, time)
datetime.datetime(2008, 8, 5, 19, 54)

I discovered this by opening an interactive session and calling
help(datetime).


-- 
Steven
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to