I want to store the current time (i.e. now) in a variable, and then use that variable to create one or more rows.
 
At the beginning of my script I have "import sqlobject", and where I tried to assign a value of sqlobject.DateTime.now to a variable, I got an error saying "...AttributeError: 'module' object has no attribute 'DateTime'." There were similar errors when I tried SQLBuilder.func.NOW(), tried "from sqlobject import *", etc.
 
How do I say "assign the current time to a variable" so the variable can be directly used to set a DateTime field?

--
++ Jonathan Hayward, jonathan.hayward@pobox.com
** To see an award-winning website with stories, essays, artwork,
** games, and a four-dimensional maze, why not visit my home page?
** All of this is waiting for you at http://JonathansCorner.com

** If you'd like a Google Mail (gmail.com) account, please tell me!