I need to custom format dates. In ruby, I would use strftime, or string formatted time, to accomplish this.
now = Time.new
now.strftime '%a, %d of %b' #=> Sat, 27 of Jun
Does javascript use strftime or some equivalent? How can I get a similar effect in javascript?