mysql where datetime less than code example
Example: mysql earlier than date
mysql> select *from DatesOfOneWeek where ArrivalTime < now() - interval 1 week;
mysql> select *from DatesOfOneWeek where ArrivalTime < now() - interval 1 week;