Content Delivery API - Custom filter on date

Hi All,
I have a doc type and a property which is a text string which is a date. (Its from external source)

I have made a few custom text filters but struggling with a date one.

  • I need to grab the string and convert it to a date?
  • When you return the new filter option Values is an array of strings so you can not parse a date into that to check?

I am not sure how to go about it. Can anyone help please?


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/113599-content-delivery-api-custom-filter-on-date