I am trying to program an Application that stores a date value (Date
in Notes
) in a Document
.
How can i pass a "Date" value from my C#
application to LotusNotes
?
Create a NotesDateTime
object, set value to now and assign to your field:
NotesDateTime dateTime = session.createDateTime("");
dateTime.SetNow();
doc.replaceItemValue("TheDateField", dateTime);