I am trying to filter a gallery that is linked to a SharePoint list called 'RFQ'. I have a Date field in it that automatically gets set to the current date time when created. I am trying to display any data that is on that date in the gallery.
Here is an example of the format of the "Date" field in my SharePoint list:
3/19/2024 8:33 AM
I have a Date picker which they use to select the date. I am converting the dates to be the same format as you will see below, I confirmed they get set to the correct format via testing with a label.
Here are 3 example I have tried that do not work:
1.
Filter(
RFQ,
Text(Date, "mm/dd/yyyy") = Text(DatePicker1.SelectedDate, "mm/dd/yyyy")
)
2.
Filter(
RFQ,
Text(DateValue(Date), "[$-en-US]mm/dd/yyyy") = Text(DatePicker1.SelectedDate, "[$-en-US]mm/dd/yyyy")
)
3.
Filter(
RFQ,
ThisRecord.Date >= DatePicker1.SelectedDate,
ThisRecord.Date < DatePicker1.SelectedDate
)