U kunt dit doen door STR_TO_DATE functie in MySQL:
SELECT STR_TO_DATE('10.00pm','%h.%i%p');
probeer dit:
SELECT *
FROM table_name
ORDER BY STR_TO_DATE(timeField,'%h.%i%p');
U kunt dit doen door STR_TO_DATE functie in MySQL:
SELECT STR_TO_DATE('10.00pm','%h.%i%p');
probeer dit:
SELECT *
FROM table_name
ORDER BY STR_TO_DATE(timeField,'%h.%i%p');