Re: MySQL DateTime subtraction question

2002-07-11 Thread Roger Baklund
* Richard Fox This question relates to both mysql in general and the mysql++ C++ API in particular, thus the adressing to both lists. I have a DateTime object (really a formatted string) say 2002-07-10 11:38:38. I want to subtract some variable number of hours (from 0 to 11) from it. How do

MySQL DateTime subtraction question

2002-07-10 Thread Richard Fox
This question relates to both mysql in general and the mysql++ C++ API in particular, thus the adressing to both lists. I have a DateTime object (really a formatted string) say 2002-07-10 11:38:38. I want to subtract some variable number of hours (from 0 to 11) from it. How do I accomplish this

Re: DateTime subtraction question

2002-07-10 Thread Bryan W. Headley
Richard Fox wrote: This question relates to both mysql in general and the mysql++ C++ API in particular, thus the adressing to both lists. I have a DateTime object (really a formatted string) say 2002-07-10 11:38:38. I want to subtract some variable number of hours (from 0 to 11) from it.