title: I have a date format in a variable.How can i convert that variable date to another format
body: <p>I have a date format in a variable. the variable date format is (var kdsDteformat =4-november-2014). now i want to change this format to 11-04-2014 how can i make it possible? And my variable date format is dynamic</p>
  
  <pre><code>var kdsDteformat = 4-november-2014;
  </code></pre>