have you tried > now()
Feb 26, 2017
4
Level 3
Filter Database Query By Date and Time Fields
I have a date field and time field with event information. I need to show all events that are in the future ( > now() ). How can I combine the date and time fields to create a datetime that can be used by Carbon to compare with now()?
I wouldn't mind switching to a datetime field, if that would be easier, but would I still be able to use mass assignment with create and edit forms?
Please or to participate in this conversation.