title: How do you copy a datetime field from the current document to a new document
body: <p>How do you copy a datetime field from the current document to a new document in Xpages, SSJS.</p>
  
  <p>I am coping other fields like this</p>
  
  <pre><code>inheritDoc.appendItemValue("AbbreviatedCustomer",currentDocument.getValue("AbbreviatedCustomer"));
  var item:NotesItem = inheritDoc.replaceItemValue("Author", n1); item.setNames(true);
  item = inheritDoc.replaceItemValue("AuthorAccess", currentDocument.getValue("AuthorAccess")); item.setAuthors(true);
  </code></pre>
  
  <p>But I do not know how to copy a date field from the currentDocument to the inheritDoc.
  Thanks</p>