Date-Time-Picker
-
Hello. For a c++ Prog. i get CTime-Object from a access-DB. Converting into a Time-String for a Edit-Field is not a Problem. But: I have for Input three Date-Time-Picker, one for the day, the month, and the year. I've a great Problem to show the corrct dates in the Date-Time-Picker. First i'have tryed with a member on the dtp to convert the format member.setformat("dd"). This was ok. The DTP caught the systemtime korrekt in the form. But now I want to initialisize these tree DTP's with the Access CTime-Object. I'have tryed to split the CTime-Object with Format %d,%m,%Y)an then with setwindow text as Cstring. day and month was ok, but not the year (1970, instead of 1980), by the same method. Otherwise by storing i must store these three objects (day,mon, year) into a CTime-Object. Has someone a good idea for handling this????????? Thanks....