Hi appnair,
Yes I'm using LAPI. I managed to solve the date issue. The solution is:
if (AddAttribute(attr, catVersion, "Date received", DateReceived.ToString("s"), true) != 0) ThrowException(session, "AddAttribute Failed");
The other problem remains. Really don't know how to get that...