timediff is just 3 integers representing days, seconds, microseconds so you 
could decompose it and store it as 3 int fields in the DB and then use the 3 
int values in a constructor to get it back. Alternative would be to convert 
it to a float or double if you can accept rounding errors.

Reply via email to