Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Add Activity

Hi, how can i assign a start date and a start time to an activity with di-api?

i tried it with

oContact.StartTime = Convert.ToDateTime(dtDatum.ToString("dd/MM/yy") + " " + sVon);
        oContact.EndTime = Convert.ToDateTime(dtDatum.ToString("dd/MM/yy") + " " + sBis);

but, it always get assigned "01.12.1899" or so...

what did i do wrong?

Former Member
Not what you were looking for? View more on this topic or Ask a question