Plz answer my query in date_select

hello gentlemen

I want to set my (default)own date in date_select, how to do this, plz
explain with example

advance thx
have a nice day

regards
narayana

On 2006-07-26 00:34:55 -0400, Narayana Karthik
[email protected] said:

hello gentlemen

I want to set my (default)own date in date_select, how to do this, plz
explain with example

advance thx
have a nice day

regards
narayana

If your date select is tied to a database field, then it will use the
contents of that database field as the starting point.

If not, you can supply it a date time instead. It seems you can look
here:
http://api.rubyonrails.com/classes/ActionView/Helpers/DateHelper.html#M000470

Notice

in the examples the :start_year that is applied.

I also think you could set the object and method to something
beforehand, but I have never tried it.

Hope this helps some.

://
Nathan H.