check what day of the week it is ruby code example Example: ruby number of week date = Date.new week_number = date.strftime('%-V') # => (1-53)