title: Crm 2011 Getting time from DateTime field on form
body: <p>I'm having trouble getting the hour and minute portions from the datetime field on the form.</p>
  
  <pre><code>var date = Xrm.Page.data.entity.attributes.get("createdon").getValue();
  </code></pre>
  
  <p>I can use getDate(), getMonth() and GetFullYear() methods on the returned object, but I cannot get the hour and minute data. The date object shows "Tue Dec 25 11:47:44 UTC+0200 2012", so the time is there. Is the only way to get hour/minute to do some ugly substring operations on that value?</p>
  
  <p>Thanks in advance.</p>