title: How to add Today() in DojoDateTime in XPages
body: <p>I would like to add today functions anywhere in this component which sets the field as Today. 
  is it possible to do? </p>
  
  <p><strong>COMPONENT CODE:</strong></p>
  
  <pre><code>&lt;xp:inputText id="EvrakUlasimTarih" value="#{document1.EvrakUlasimTarih}"
                                              valueChangeListener="#{changeRequestBean.valueChangeListener}" dojoType="dijit/form/DateTextBox" styleClass="fs-12 datetimeStyle"&gt;
  &lt;xp:dateTimeHelper id="dateTimeHelper2"&gt; &lt;/xp:dateTimeHelper&gt;
  &lt;xp:this.converter&gt;
  &lt;xp:convertDateTime type="date" dateStyle="short"&gt;
  &lt;/xp:convertDateTime&gt;
  &lt;/xp:this.converter&gt;
  &lt;/xp:inputText&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/ySVjf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ySVjf.png" alt="enter image description here"></a></p>