date expression in python to load into vertica

Moderator: NorbertKrupa

Post Reply
psunkara
Newbie
Newbie
Posts: 2
Joined: Wed Apr 03, 2013 7:52 pm

date expression in python to load into vertica

Post by psunkara » Thu Apr 04, 2013 6:57 pm

Hi, Iam trying to update a vertica database table using python script. One of the input date column is in datatype int and need to converted to datatype date. I tried some convertion functions like datetime.strtp, time.strtp but nothing worked. Iam using python 2.4 version and it doesnt have strtp in datetime module. Can anyone suggest how should i need to give the expression for dates.
Thanks

Post Reply

Return to “Python”