title: How can we get weekday based on given date in unix
body: <p>From a given date in <code>%m-%d-%Y</code> format we should determine what day it is.</p>
  <p>Example: for the date <code>09-01-2017</code> output should be <code>Friday</code></p>