How can I calculate the day of the week of a date in Ruby? For example, October 28 of 2010 is = Thursday
Date.today.strftime("%A") => "Wednesday" Date.today.strftime("%A").downcase => "wednesday"