Will Rocisky wrote:
> Actually I am trying to save both date and time in one cell but they
> are given separately by user.
http://docs.python.org/lib/datetime-datetime.html indicates that the
function you're looking for is datetime.datetime.combine(d, t).
HTH!
--
I'm at CAMbridge, not SPAMbridg
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)
Actually I am trying to save both date and time in one cell but they
are given separately by user.
--
http://mail.python.org/mailman/listinfo/python-list