title: xmlgregoriancalendar formatting in MM/dd/yyyy
body: <p>I have a variable  of type date in the format <code>MM/dd/yyyy</code>. I need to convert the tempdate to xmlgregoriancalendar type in the same format i.e., <code>MM/dd/yyyy</code>.</p>
  
  <p>The default format when created using <code>newxmlgregoriancalendarDate()</code> is <code>yyyy-MM-dd</code>
  so i am unable to convert it to <code>MM/dd/yyyy</code> format of type xmlgregoriancalendar</p>
  
  <p>how to acheive this?</p>