ruby-1.9.2-p180 :022 > range = Date.today.beginning_of_day..Date.today.end_of_day => Wed, 17 Aug 2011 00:00:00 UTC +00:00..Wed, 17 Aug 2011 23:59:59 UTC +00:00 ruby-1.9.2-p180 :023 > range = Date.tomorrow.beginning_of_day..Date.tomorrow.end_of_day => Fri, 19 Aug 2011 00:00:00 UTC +00:00..Fri, 19 Aug 2011 23:59:59 UTC +00:00 ruby-1.9.2-p180 :024 > DateTime.now => Wed, 17 Aug 2011 22:17:00 -0700 ruby-1.9.2-p180 :025 >
This ... just confuses me sometimes -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/UbI1jKExZsAJ. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.