I\'m using an Edit Box control to display a date field. When the XPage is saved, I would like to save the date only (now both date and time are being saved). Is there any wa
getDateOnly() returns a string. Try this:
getDateOnly()
dt.setAnyTime(); currentDocument.replaceItemValue("dateReparatur", dt);
Or you may have to get the Document:
Document
currentDocument.getDocument(true).replaceItemValue("dateReparatur", dt);