Just FYI, there is a small edge-case in that approach if the db stores time 
with microseconds.

If that's the case, you may be better off comparing to a 'floored" date 
column, or using a search where you grab values ">=" the start and "<" the 
end.  Otherwise you'll miss values that happen within the last second of 
the day.  

It's a rare edge case, but many people run into it (myself included)


-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to