Displaying 2 results from an estimated 2 matches for "abbr_daynam".
Did you mean:
abbr_daynames
2006 Jun 18
2
newby issue with the date class
ok i have partial defined like this
<%=
d = Date.today
%>
<div class="date_container">
<div class="month"><%= Date::ABBR_DAYNAMES[d.wday] %></div>
<div class="day"><%= d.day %></div>
<div class="year"><%= Date::ABBR_MONTHNAMES[d.mon] %></div>
</div> <!-- date container-->
now whats annoying is when it renders i get this
2006-06-14 <---...
2006 Mar 31
6
Calculating Dates
Hello,
I am a complete newbie with Ruby and Rails. I am working on learning it
by writing a project I was going to write in PHP using Rails. I am
having a difficult time finding clear information on how I would do
this.
I need to take a date out of a table in my database and given another
day calculate the next 28 day anniversery of the original date. This is
used to calculate a delivery