I've a announcement table with the structure,
Msgid int,
title varchar(150)
message text
date_from datetime
date_to datetime
I've want to list all the announcements which will be due today (i.e) announcements of which today's date falls b/w date_from and date_to.
any ideas?
WHERE NOW() BETWEEN date_from AND date_to
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With