How can I calculate the day of the week of a date in Ruby? For example, October 28 of 2010 is = Thursday
Works out of the box with ruby without requiring:
Time.now.strftime("%A").downcase #=> "thursday"