How can I find the difference between two times and extract the hours 
between them? I was able to do it with a literal, but I was wondering if 
there was a better way.

select('date1 - date2'.lit.extract(:hour))

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sequel-talk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to