Skip to Content
Former Member
Dec 03, 2004 at 06:17 PM

Time value for DateTime UserField


When we save a DateTime value to a UserField of type DateTime using the SAPbobsCOM.UserTable business object, the Time portion is lost (i.e. the Time is always 00:00:00).

When we debug, the DateTime variable we assign to the UserField has the Time value, but the database always ends up with 00:00:00.000 as the Time.

Should we be assigning a String variable to the UserField using a particular format for the Date and Time?

Please advise. Thanks.