What is the best way to create a python datetime object from a datetime 
field. i.e

import datetime
...
my_date_time_object = datetime.datetime(myrecord.datetimevalue)

Ultimately what I want to do is add x hours to a datetime value held in a 
field and compare the new time to datetime.now to see if it is time for a 
file to be updated.

Thanks
Simon

-- 



Reply via email to