I have a query that has a condition, which checks whether the record is greater than or equal to today's date.
It looks like this:
WHERE t1.bidpack_buy_date => NOW()
Well, it will check if the value of the bidpack_buy_date
column is greater than or equal to the current date and time.
In column bidpack_buy_date
it gets recorded this way:
2018-01-10 09:00:00
I need that in this condition, it only checks the day, month and year. That is, it will be valid only if it is equal to today's date or after, the time should be considered.
How can I do this?