Everything you need to build that method can be found in the Time class
of ruby:
http://www.ruby-doc.org/core/classes/Time.html
cfingerh wrote:> Hi,
>
> I need to get the tuesday for any given week of the year.
> For example, for the week 23 of the year, I have to get the day-month
> for tha tuesday of that week.
>
> Thanks
>
> Christian
>
>
> >
>
--
Sincerely,
William Pratt
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---