I have the following date and I tried the following code,
df[\'start_date_time\'] = [\"2016-05-19 08:25:00\",\"2016-05-19 16:00:00\",\"2016-05-20 07:45:00\",\"20
HTML Code:
< input type="time" class="form-control" name="meeting_time" required />
Python Django Code:
meeting_time = request.POST['meeting_time'] #Like your_time = "12:35:00" get_time = meeting_time.strftime("%H:%M")
Result is:
get_time = "12:35"