title: How to get the day of the week from the day number in JavaScript?
body: <p>Given <code>dayNumber</code> is from <code>0</code> - <code>6</code> representing <code>Monday</code> - <code>Sunday</code> respectively.</p>
  <p>Can the <code>Date</code> / <code>String</code> objects be used to get the day of the week from <code>dayNumber</code>?</p>