title: how can i replace time from date with time from string field in xpage using ssjs?
body: <p>I want to replace time from field date(java.util.date) by the another value string and finally store the result in field with type date ,below my code</p>
  <pre><code>var dtDate = getComponent(&quot;RemindDatePS&quot;).getValue();   
  var dtTime = getComponent(&quot;RemindTimePS&quot;).getValue();
    
     if (dtDate != null &amp;&amp; dtTime != null) { 
         var dtDateTime:NotesDateTime = session.createDateTime(dtDate);
     dtDateTime.setLocalTime(dtTime ); 
  </code></pre>