@lastyear = 1.year.ago. it will give the last year. but it will  shows date 
with time.

2010-12-14 19:44:28 UTC

How to avoid that time...? i have to get only the date 2010-12-14...

Thank you
vishnu 

-- 
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/-/mPrqf1kwynQJ.
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