View Single Post
Old Feb 12th, 2007, 5:45 PM   #7
poopman
Newbie
 
Join Date: Feb 2007
Posts: 13
Rep Power: 0 poopman is on a distinguished road
I had to omit the SQL statement for work purposes, but here's all the code after that:
cursor.execute(sql_first_look)
result = cursor.fetchall()
date = result[0]

print date.strftime("%Y-%m-%d")
connection.commit()
cursor.close()
connection.close()
poopman is offline   Reply With Quote