How to convert date time in format mm/dd/yyyy
<p>My <code>VB.net</code> Rest service at backend expects date in below format:</p>

<pre><code> starterInput.dateProp = 08/26/2016 where dateProp is of date type
</code></pre>

<p>Currently I am getting date in below format in my front end<code>Javascript</code></p>

<pre><code>start = 2016-08-26T03:59:59.999Z 
</code></pre>

<p>How can I convert my date of <code>2016-08-26T03:59:59.999Z</code>  to <code>08/26/2016</code> in Javascript</p>

<p>I have tried some of the built in function. </p>

<p><code>start.toArray()</code> gives me something like <code>[2016, 7, 10, 3, 59, 59, 0]</code>
So shall I parse this array and use the index to create something like  <code>08/26/2016</code> and then send it to the backend. I tried some other functions too which are available in javascript, like:</p>

<pre><code>start.format()

output: "2016-08-10T03:59:59+00:00"

start.toString()

output: ""Wed Aug 08 2016 03:59:59 GMT+0000"
</code></pre>

<p>I am confused how to get the date in the format I expect <code>08/26/2016</code> . Please guide me. Thanks!</p>