Hello all, here hasn't been any where i haven't looked to solve this thing, but useless, some one might know here.
I have a datetimepicker of dtkTime type. By default it displays 12:00:00 AM. On run time i load different time values into it. The question is how to make the format look like hh:mm ? example 2:00:00 PM to 14:00 ? pulling the value to a text edit with
AnsiString test = FormatDateTime("hh:mm", StartTimePicker2->DateTime);
works fine but useless i can't put that string in the datetimepicker. how to set the format by default to hh:mm any one for help ? tnx
I have a datetimepicker of dtkTime type. By default it displays 12:00:00 AM. On run time i load different time values into it. The question is how to make the format look like hh:mm ? example 2:00:00 PM to 14:00 ? pulling the value to a text edit with
AnsiString test = FormatDateTime("hh:mm", StartTimePicker2->DateTime);
works fine but useless i can't put that string in the datetimepicker. how to set the format by default to hh:mm any one for help ? tnx