> Are you sure you are not confusing it with Date.today?  I was not
> aware that there is a Time.today.  There is a Time.now.
> 
> Colin

On my dev Machine:

$ ./script/console
Loading development environment (Rails 2.3.3)
>> Time.now
=> Fri Aug 28 22:51:16 0200 2009
>> Time.today
=> Fri Aug 28 00:00:00 0200 2009

I do admit there is a problem with the time returned, but still the 
method call worked.
-- 
Posted via http://www.ruby-forum.com/.

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

Reply via email to