Ruby on Rails
Tuesday, May 1, 2012
You're looking for the time_diff gem.
Dheeraj Kumar
On Tuesday 1 May 2012 at 1:52 PM, Amir Z. wrote:
Hi Gonzalez,We can create script using present date and date of born.Years = present year - birth yearDays= present date - birth dateMonths = present month - birth monthIs it you looking for?Thanks--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 rubyonrails-talk@googlegroups.com.To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment