How to show DateTime in single field

i want to show datetime in single column, i have tried with datetime editor but not worked. like gate entry date and time i want to show on receipt form. any suggestion ?

[“ShortChar01”]= DateTime.Now.ToString(“MM/dd/yyyy hh:mm tt”);

i want to save record in datetime only, user will fill in date time format and save in database also required datetime.