colin, thanks 

I got it from this

  * :day_of_week =>u.bill_date.day,*
*    :day_of_month => 
(Date.new(Time.now.year,12,31).to_date<<(12-u.bill_date.month)).day ,*
*    :month_of_year =>u.bill_date.month,*
*    :year => u.bill_date.year*
*
*
*
*
*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/-/71FjCgn-rsgJ.
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