On Nov 4, 3:53 am, "Tim Arnold" <[EMAIL PROTECTED]> wrote:
> "alex23" <[EMAIL PROTECTED]> wrote:
> > t = "string representing a datum"
> > access.Fields("Time").value = t
>
> maybe OP means t = "string representing a date", but I'm just guessing.

Oops, that totally didn't occur to me. You'd think the field's key
would've been a giveaway :)

ted: take a look at the time module, it's part of the standard
library.

  import time
  access.Fields("Time").value = time.strptime('10:00AM', '%I:%M%p')

http://www.python.org/doc/2.5.2/lib/module-time.html


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

Reply via email to