mysql less than timestamp 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;