--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Returns a select tag with options for each of the days 1 through 31 with the current day selected. The <tt>date</tt> can also be substituted for a hour number. Override the field name using the <tt>:field_name</tt> option, 'day' by default.
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Examples
- !ruby/struct:SM::Flow::VERB 
  body: "  my_date = Time.today + 2.days\n\n  # Generates a select field for days that defaults to the day for the date in my_date\n  select_day(my_time)\n\n  # Generates a select field for days that defaults to the number given\n  select_day(5)\n\n  # Generates a select field for days that defaults to the day for the date in my_date\n  # that is named 'due' rather than 'day'\n  select_day(my_time, :field_name =&gt; 'due')\n"
full_name: ActionView::Helpers::DateHelper#select_day
is_singleton: false
name: select_day
params: (date, options = {}, html_options = {})
visibility: public
