I am working with php and mysql,Right now i have following table name "info"
id name end_date end_time
1 abc 2023-02-03 02:02 PM
2 xyz 2023-02-04 10:10 PM
3 axy 2023-02-01 11:12 PM
now i want to get all records where "datetime"(end_date
+ end_time
) is less than "current time". In other words, my expected output is "1st and 3rd record"
How can i do this ?