Closed l0mkaa closed 6 years ago
Are vars today and fromDay strings? BTW, why don't u use '?' instead of '%s"??? Like this: (ffc.acceptdate <= ? AND ffc.acceptdate >= ?).
I don't know if ur issue is related to this, though. But if in ur database u r using just "date", u need to store it in a string instead of a time.Time type. The same goes for insert... Need to insert a "string" with just the date. But, if u r using a timestamp, than u can just use time.Time.
You were right. Thank you!
I get an error "conversion error from string "%s" with some SELECT queries.
What could be the problem? Thank you in advance!!!