How to set an attribute value of a date field?
Hi, I'm using C# and Livelink 9.5I read all my data to be used in AttrSetValues commands as strings using an OracleDataReader. So strings are straight forward, and with integers data types, I've gotten away with converting datatypes in the last moment, for example here is an AddFileWithAttributes line:static int AddFileWithAttributes(string File, string Title, string attribute1, string attribute2,string attribute3, string attribute4,string attribute5, string attribute6, LAPI_ATTRIBUTES attr,LLValue catID,LLSession session,LAPI_DOCUMENTS documents,LLValue mobjID, int parentVol, int parentId, int dataID)Followed by an example of a specific attrValues.add line for an integer field: attrValues.add(Convert.ToInt16(attribute6));status=attr.AttrSetValues(catVersion, "Year (YYYY)", LAPI_ATTRIBUTES.ATTR_DATAVALUES, attrValuesPath, attrValues);Notice the ToInt16 which did the trick there. Now I have some date attributes to deal with. The strings look like this: "13-APR-2006".I'm not sure if I can't get away with a similar approach. Dealing with DateTime in C# is a weakness for me. I would appreciate any clues on how to set date attributes within C#.Thanks,- Mark