display time format

hello,

 
I want to display time on a advstringgrid in 'hh:mm' format and on a 24 hours format.
I want also edit this time .
 
What is the best way to do it ?
I am lost in the differents possibilities !
What line I need to use in the example below ?
 
------------------------------------------------------------------
AEditor := edTimeEdit;

AdvStringGrid2.DateTimePicker.Format:='hh:mm';
AdvStringGrid2.DateAndTimePicker.TimeFormat:='hh:mm';
AdvStringGrid2.TimePickerDropDown.ShowTimePicker:=true;
AdvStringGrid2.TimePickerDropDown.ShowSeconds:=false;
-----------------------------------------------------------------------
 
regards