title: Display Persian time in format hh:mm
body: <p>I am using a persian calender on my application , i am using that code :</p>
  
  <pre><code>using System.Globalization;
  
  [...]
  
  PersianCalendar pc = new PersianCalendar();
  DateTime thistime = DateTime.Now;
  string persiantimenow = pc.GetHour(thistime) + ":" + pc.GetMinute(thistime);
  
  Console.WriteLine(persiantimenow);
  </code></pre>
  
  <p>It is 12:35AM now , so the output is : 0:33 , but i want it to be 00:33</p>
  
  <p>I tried using :</p>
  
  <pre><code>string persiantimenow = pc.GetHour(thistime.ToString("hh")) + ":" + pc.GetMinute(thistime.ToString("mm"));
  </code></pre>
  
  <p>It gave me error so i used the next one , but also gave same error</p>
  
  <pre><code>string thistime_Hour = thistime.ToString("HH");
  string thistime_minute = thistime.ToString("MM");
  
  string persiantimenow = pc.GetHour(thistime_Hour) + ":" + pc.GetMinut(thistime_minute);
  </code></pre>
  
  <p>But i get Error :</p>
  
  <pre><code>Argument 1: cannot convert from 'string' to 'System.DateTime'
  </code></pre>
  
  <p>EDIT 1 [I have figured a tricky solution]</p>
  
  <pre><code>if (pc.GetHour(thistime) &lt; 12)
  {
       string persiantimenow = "0" + pc.GetHour(thistime) + ":" + pc.GetMinute(thistime);
       Console.WriteLine(persiantimenow);
  }
  </code></pre>
  
  <p>It is not what i needed but it solves the issue.</p>
  
  <p>EDIT 2 [L.B solved it for me]
  Here is the solution :</p>
  
  <pre><code>string persiantimenow = pc.GetHour(thistime).ToString("00") + ":" + pc.GetMinute(thistime).ToString("00");
  </code></pre>